Skip site navigation (1) Skip section navigation (2)

Re: Bug in create operator and/or initdb

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "John Hansen" <john(at)geeknet(dot)com(dot)au>
Cc: pgsql-bugs(at)postgresql(dot)org,"pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bug in create operator and/or initdb
Date: 2005-01-30 03:07:30
Message-ID: 28985.1107054450@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers
"John Hansen" <john(at)geeknet(dot)com(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Steve AtkinsDate: 2005-01-30 04:20:10
Subject: Re: [BUGS] Bug in create operator and/or initdb
Previous:From: Alvaro HerreraDate: 2005-01-30 02:47:59
Subject: Re: Continue transactions after errors in psql

pgsql-bugs by date

Next:From: Steve AtkinsDate: 2005-01-30 04:20:10
Subject: Re: [BUGS] Bug in create operator and/or initdb
Previous:From: John HansenDate: 2005-01-30 02:46:34
Subject: Re: Bug in create operator and/or initdb

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group