bug? non working casts for domain

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема bug? non working casts for domain
Дата
Msg-id Pine.LNX.4.64.0605031033350.16727@briare.cri.ensmp.fr
обсуждение исходный текст
Ответы Re: bug? non working casts for domain  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: bug? non working casts for domain  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Dear PostgreSQL developer.

Although it is allowed to create a cast for a domain, it seems that there 
is no way to trigger it. You can find attached an sql script to illustrate 
the issue with postgresql 8.1.3. The create cast and create domain 
documentations do not seem to discuss this point.

ISTM that it is a pg bug. Indeed, either

(1) the create cast should be rejected if it is not allowed for domains.

or

(2) the function should be triggered by explicit casts to the domain.

Have a nice day,

-- 
Fabien.

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

Предыдущее
От: "Robert Staudinger"
Дата:
Сообщение: [SoC] Relation between project "XML improvements" and "pgxml"
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Automatic free space map filling