Curious result from text ( netmask ( inet ) ) functions.
Vadim I. Passynkov <pvi@axxent.ca>
From: "Vadim I. Passynkov" <pvi@axxent.ca>
To: "pgsql-bugs@postgresql.org" <pgsql-bugs@postgresql.org>
Date: 2001-07-18T14:08:16Z
Lists: pgsql-bugs
spidermon=# SELECT version();
version
--------------------------------------------------------------
PostgreSQL 7.1.2 on i386--freebsd4.3, compiled by GCC 2.95.3
(1 row)
spidermon=# SELECT netmask ( '192.168.1.1/28' ) ;
netmask
-----------------
255.255.255.240
(1 row)
spidermon=# SELECT text ( netmask ( '192.168.1.1/28' ) );
text
--------------------
255.255.255.240/32 - ??????
(1 row)
--
Vadim I. Passynkov, Axxent Corp.
mailto:pvi@axxent.ca