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

From Tom Lane
Subject Re: [BUGS] Bug in create operator and/or initdb
Date
Msg-id 28985.1107054450@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] Bug in create operator and/or initdb  ("John Hansen" <john@geeknet.com.au>)
Responses Re: [BUGS] Bug in create operator and/or initdb  (Steve Atkins <steve@blighty.com>)
List pgsql-hackers
"John Hansen" <john@geeknet.com.au> writes:
> In that case may I suggest fixing the catalog so network_* functions exists for both datatypes!

Redesigning the inet/cidr distinction is on the to-do list (though I'm
afraid not very high on the list).  ISTM it should either be one type
with a distinguishing bit in the runtime representation, or two types
with no such bit needed.  Having both is a schizophrenic design.  It's
led directly to bugs in the past, and I think there are still some
corner cases that act oddly (see the archives).
        regards, tom lane


pgsql-hackers by date:

Previous
From: "John Hansen"
Date:
Subject: Re: [BUGS] Bug in create operator and/or initdb
Next
From: Steve Atkins
Date:
Subject: Re: [BUGS] Bug in create operator and/or initdb