Fw: DOMAINs and CASTs

From: "Gelman" <igny03(at)verizon(dot)net>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Fw: DOMAINs and CASTs
Date: 2011-05-15 01:56:26
Message-ID: 7C12E54423334ED2967AB6962896C538@Igel01
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


----- Original Message -----
From: "Jaime Casanova" <jaime(at)2ndquadrant(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)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(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Jaime Casanova <jaime(at)2ndquadrant(dot)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

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2011-05-15 06:43:05 Re: DOMAINs and CASTs
Previous Message Gelman 2011-05-15 01:56:17 Fw: DOMAINs and CASTs