Re: Curious result from text ( netmask ( inet ) ) functions.
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pvi@axxent.ca
Cc: "pgsql-bugs@postgresql.org" <pgsql-bugs@postgresql.org>
Date: 2001-07-18T16:21:28Z
Lists: pgsql-bugs
"Vadim I. Passynkov" <pvi@axxent.ca> writes: > spidermon=# SELECT text ( netmask ( '192.168.1.1/28' ) ); > text > -------------------- > 255.255.255.240/32 - ?????? > (1 row) That's what it's defined to do. See http://www.ca.postgresql.org/users-lounge/docs/7.1/postgres/functions-net.html regards, tom lane