Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group