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

From: "Vadim I(dot) Passynkov" <pvi(at)axxent(dot)ca>
To: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Curious result from text ( netmask ( inet ) ) functions.
Date: 2001-07-18 14:08:16
Message-ID: 3B559850.F03AB331@axxent.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)axxent(dot)ca

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2001-07-18 15:24:41 Re: libpgtcl doesn't use UTF encoding of TCL
Previous Message jozzano 2001-07-18 09:23:41 BUG(fixed) in CREATE TABLE ADD CONSTRAINT...