Re: inet/cidr type comparisons

Jim Mercer <jim@reptiles.org>

From: Jim Mercer <jim@reptiles.org>
To: Alex Pilosov <alex@pilosoft.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org
Date: 2001-06-11T17:51:42Z
Lists: pgsql-hackers
On Mon, Jun 11, 2001 at 01:16:01PM -0400, Alex Pilosov wrote:
> Apologies for asking so many questions, but I'd like a sanity check before
> proceeding :)

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.

either the addrs are classless, or they are not.

the current print stuff seems to make special cases of classful addresses.

-- 
[ Jim Mercer        jim@reptiles.org         +1 416 410-5633 ]
[ Now with more and longer words for your reading enjoyment. ]