Re: DOMAINs and CASTs - Mailing list pgsql-hackers

From Robert Haas
Subject Re: DOMAINs and CASTs
Date
Msg-id BANLkTimxwaikHOYOS4o20Y_TbuS1t9Rh0w@mail.gmail.com
Whole thread Raw
In response to Re: DOMAINs and CASTs  (Jaime Casanova <jaime@2ndquadrant.com>)
Responses Re: DOMAINs and CASTs  (Jaime Casanova <jaime@2ndquadrant.com>)
List pgsql-hackers
On Sun, May 15, 2011 at 7:43 PM, Jaime Casanova <jaime@2ndquadrant.com> wrote:
> still, we have a problem... because we are happily ignoring correctely
> created casts...
> at least, we should document that casts on domains are ignored and
> that we should use the base types instead, maybe even a warning or a
> notice when issuing the CREATE CAST command using domains...
>
> make the user think everything is fine when it's not is not a good idea

+1.

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


pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: DOMAINs and CASTs
Next
From: Robert Haas
Date:
Subject: Re: Extension Packaging