Re: DOMAINs and CASTs

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: DOMAINs and CASTs
Дата
Msg-id BANLkTik69On0R0gFE0koRZ0mY_E8qMU2QA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: DOMAINs and CASTs  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: DOMAINs and CASTs
Список pgsql-hackers
On Sun, May 15, 2011 at 9:01 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> 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.
>

ok, i will make a patch for this... btw, why is that we allow to
create those casts at all? or we can deny them?

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


В списке pgsql-hackers по дате отправления: