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

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

pgsql-bugs by date

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

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