Re: Curious result from text ( netmask ( inet ) ) functions. - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Curious result from text ( netmask ( inet ) ) functions.
Date
Msg-id 5351.995473288@sss.pgh.pa.us
Whole thread Raw
In response to Curious result from text ( netmask ( inet ) ) functions.  ("Vadim I. Passynkov" <pvi@axxent.ca>)
List 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

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: libpgtcl doesn't use UTF encoding of TCL
Next
From: Reinhard Max
Date:
Subject: Re: libpgtcl doesn't use UTF encoding of TCL