Re: DOMAINs and CASTs

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Jaime Casanova <jaime@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Bruce Momjian <bruce@momjian.us>, David Fetter <david@fetter.org>, Peter Eisentraut <peter_e@gmx.net>, Darren Duncan <darren@darrenduncan.net>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-11-30T03:12:13Z
Lists: pgsql-hackers
On Tue, Nov 29, 2011 at 11:11 AM, Jaime Casanova <jaime@2ndquadrant.com> wrote:
> On Tue, Nov 29, 2011 at 10:42 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Bruce Momjian <bruce@momjian.us> writes:
>>> Tom Lane wrote:
>>>> Robert Haas <robertmhaas@gmail.com> writes:
>>>>> Well, if we apply this, it has the possibility to break existing
>>>>> dumps.
>>
>> BTW, it occurs to me that we could dodge that objection, with much less
>> work than Robert suggests, if we just made the message be a WARNING not
>> an ERROR.  I think that'd do just as well in terms of what the message
>> could usefully accomplish, ie, steer people away from doing things that
>> won't work.  Still not sure that it's worth doing though,
>>
>
> i'm fine with a WARNING

Me too; I suggested it before (so did you).

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company