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

From Jim Mercer
Subject Re: inet/cidr type comparisons
Date
Msg-id 20010611135142.Y10741@reptiles.org
Whole thread Raw
In response to Re: inet/cidr type comparisons  (Alex Pilosov <alex@pilosoft.com>)
Responses Re: inet/cidr type comparisons  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: inet/cidr type comparisons  (Alex Pilosov <alex@pilosoft.com>)
List 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. ]


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: RE: Baby girl
Next
From: Tom Lane
Date:
Subject: Re: inet/cidr type comparisons