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

From Vadim I. Passynkov
Subject Curious result from text ( netmask ( inet ) ) functions.
Date
Msg-id 3B559850.F03AB331@axxent.ca
Whole thread Raw
Responses Re: Curious result from text ( netmask ( inet ) ) functions.  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: libpgtcl doesn't use UTF encoding of TCL
Next
From: Bruce Momjian
Date:
Subject: Re: libpgtcl doesn't use UTF encoding of TCL