Re: Curious result from text ( netmask ( inet ) ) functions.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pvi(at)axxent(dot)ca
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Curious result from text ( netmask ( inet ) ) functions.
Date: 2001-07-18 16:21:28
Message-ID: 5351.995473288@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Vadim I. Passynkov" <pvi(at)axxent(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2001-07-18 16:22:14 Re: libpgtcl doesn't use UTF encoding of TCL
Previous Message Reinhard Max 2001-07-18 16:14:59 Re: libpgtcl doesn't use UTF encoding of TCL