Re: inet/cidr type comparisons

From: Jim Mercer <jim(at)reptiles(dot)org>
To: Alex Pilosov <alex(at)pilosoft(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: inet/cidr type comparisons
Date: 2001-06-11 17:51:42
Message-ID: 20010611135142.Y10741@reptiles.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)reptiles(dot)org +1 416 410-5633 ]
[ Now with more and longer words for your reading enjoyment. ]

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Pilosov 2001-06-11 17:59:52 Re: inet/cidr type comparisons
Previous Message Tom Lane 2001-06-11 17:41:01 Re: inet/cidr type comparisons