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

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 (view raw or flat)
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

pgsql-sql by date

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

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