Обсуждение: mysqlcompat - mysqlcompat: Rework inet_aton() and inet_ntoa().

Поиск
Список
Период
Сортировка

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

От
swm@pgfoundry.org (User Swm)
Дата:
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)