mysqlcompat - mysqlcompat: Rework inet_aton() and inet_ntoa(). - Mailing list pgsql-committers

From swm@pgfoundry.org (User Swm)
Subject mysqlcompat - mysqlcompat: Rework inet_aton() and inet_ntoa().
Date
Msg-id 20051212062617.B40061125090@pgfoundry.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: fxjr@pgfoundry.org (User Fxjr)
Date:
Subject: npgsql - Npgsql: 2005-12-12 Francisco Figueiredo Jr.
Next
From: chriskl@pgfoundry.org (User Chriskl)
Date:
Subject: mysqlcompat - mysqlcompat: Remove obsolete comments.