Re: [BUGS] Bug in create operator and/or initdb - Mailing list pgsql-hackers

From Steve Atkins
Subject Re: [BUGS] Bug in create operator and/or initdb
Date
Msg-id 20050131175424.GA4967@gp.word-to-the-wise.com
Whole thread Raw
In response to Re: [BUGS] Bug in create operator and/or initdb  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Jan 31, 2005 at 12:16:26PM -0500, Tom Lane wrote:
> Steve Atkins <steve@blighty.com> writes:
> > The cidr type, including it's external interface, is simply broken.
> 
> That is a large claim that I don't think you have demonstrated.
> The only one of your examples that seems to me to contradict the
> documentation is this one:
> 
>  steve=# select '224.0.0.0'::cidr;
>       cidr     
>   -------------
>    224.0.0.0/4
> 
> which should be /32 according to what the docs say:

OK. If this sort of thing is considered a bug, rather than part
of the external interface that shouldn't be changed, then I'd
agree that cidr isn't entirely broken and it may well be possible
to improve it without changing the interface.

/me goes grovelling through the IPv6 inet code...

Cheers, Steve



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Allow GRANT/REVOKE permissions to be applied to all schema objects with one command
Next
From: "Dave Page"
Date:
Subject: Re: 7.2.7 -> 8.0.1 Bundles Ready ...