Re: TEXT::CIDR/INET::CIDR output confusion

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Alexander M(dot) Pravking" <fduch(at)antar(dot)bryansk(dot)ru>, pgsql-sql(at)postgresql(dot)org
Subject: Re: TEXT::CIDR/INET::CIDR output confusion
Date: 2004-11-30 05:07:51
Message-ID: 6587.1101791271@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Christoph Haller 2004-11-30 08:40:21 session-wide autocommit off
Previous Message Michael Fuhr 2004-11-30 04:56:23 Re: stored procedures in postgresql user plpgsql