mysqlcompat - mysqlcompat: Rework inet_aton() and inet_ntoa().

From: swm(at)pgfoundry(dot)org (User Swm)
To: pgsql-committers(at)postgresql(dot)org
Subject: mysqlcompat - mysqlcompat: Rework inet_aton() and inet_ntoa().
Date: 2005-12-12 06:26:17
Message-ID: 20051212062617.B40061125090@pgfoundry.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Rework inet_aton() and inet_ntoa().

1. inet_aton() now accepts '127.1' as '127.0.0.1', like MySQL does. This
means we need to change out input data type to text, as inet rejects
it.

2. inet_ntoa() has been rewritten in SQL so that it can be inlined. This
should have a significant impact on performance.

Modified Files:
--------------
mysqlcompat:
misc.sql (r1.2 -> r1.3)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/mysqlcompat/mysqlcompat/misc.sql.diff?r1=1.2&r2=1.3)
uninstall.sql (r1.6 -> r1.7)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/mysqlcompat/mysqlcompat/uninstall.sql.diff?r1=1.6&r2=1.7)

Browse pgsql-committers by date

  From Date Subject
Next Message User Chriskl 2005-12-12 06:33:09 mysqlcompat - mysqlcompat: Remove obsolete comments.
Previous Message User Fxjr 2005-12-12 04:24:57 npgsql - Npgsql: 2005-12-12 Francisco Figueiredo Jr.