Re: DOMAINs and CASTs - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: DOMAINs and CASTs
Date
Msg-id BANLkTinhJy_zfAU2=a2Yo6Bj19fOG2gQMQ@mail.gmail.com
Whole thread Raw
In response to Re: DOMAINs and CASTs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: DOMAINs and CASTs
Next
From: Darren Duncan
Date:
Subject: Re: DOMAINs and CASTs