Re: inet/cidr type comparisons - Mailing list pgsql-hackers

From Alex Pilosov
Subject Re: inet/cidr type comparisons
Date
Msg-id Pine.BSO.4.10.10106111404220.16686-100000@spider.pilosoft.com
Whole thread Raw
In response to Re: inet/cidr type comparisons  (Jim Mercer <jim@reptiles.org>)
List pgsql-hackers
On Mon, 11 Jun 2001, Jim Mercer wrote:

> while you are in there, can you cahnge the print functions so that they
> are consistent?
> 
> the output should be 'x.x.x.x' or 'x.x.x.x/x'.
> 
> in some cases, i have seen select's which output 'x.x.x/24', which totally
> defeats the purpose of classless ip addrs.
7.1 will do it correctly, please upgrade:

users=# select '10/8'::inet; ?column?
------------10.0.0.0/8
(1 row)




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: OID Wrap
Next
From: mlw
Date:
Subject: Re: OID Wrap