Fw: DOMAINs and CASTs - Mailing list pgsql-hackers

From Gelman
Subject Fw: DOMAINs and CASTs
Date
Msg-id 7C12E54423334ED2967AB6962896C538@Igel01
Whole thread Raw
List pgsql-hackers
----- Original Message ----- 
From: "Jaime Casanova" <jaime@2ndquadrant.com>
To: "Tom Lane" <tgl@sss.pgh.pa.us>
Cc: "PostgreSQL-development" <pgsql-hackers@postgresql.org>
Sent: Saturday, May 14, 2011 8:29 PM
Subject: Re: [HACKERS] DOMAINs and CASTs


On Sat, May 14, 2011 at 5:13 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Jaime Casanova <jaime@2ndquadrant.com> writes:
>> If i create a DOMAIN an then want to create a CAST from that domain to
>> another type it gives an error.
>
> It's *not* trivial to fix, at least not in a way that gives desirable
> behavior for more than the simplest cases.
>

well, i'm just trying to manage the simplest case... do you think we
should manage other cases? what else should we do?
it's better to allows the creation of casts that are ignored?

-- 
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte y capacitación de PostgreSQL

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers 



pgsql-hackers by date:

Previous
From: "Gelman"
Date:
Subject: Fw: DOMAINs and CASTs
Next
From: Jaime Casanova
Date:
Subject: Re: DOMAINs and CASTs