Re: TEXT::CIDR/INET::CIDR output confusion - Mailing list pgsql-sql

From Tom Lane
Subject Re: TEXT::CIDR/INET::CIDR output confusion
Date
Msg-id 6587.1101791271@sss.pgh.pa.us
Whole thread Raw
In response to Re: TEXT::CIDR/INET::CIDR output confusion  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-sql
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I think the original code thought CIDR and INET where identical types
> that could be cast with no changes but we are finding that was incorrect.

That's what it seems to boil down to.  We need to rethink the separation
between those datatypes.  At the very least, the casts between them
cannot both be code-less binary-compatibility casts.
        regards, tom lane


pgsql-sql by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: stored procedures in postgresql user plpgsql
Next
From: Christoph Haller
Date:
Subject: session-wide autocommit off