Re: a little doubr about domains and pl/python

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: a little doubr about domains and pl/python
Дата
Msg-id 17877.1159551164@sss.pgh.pa.us
обсуждение исходный текст
Ответ на a little doubr about domains and pl/python  ("Walter Cruz" <walter.php@gmail.com>)
Список pgsql-hackers
"Walter Cruz" <walter.php@gmail.com> writes:
> CREATE CAST (integer AS romano) WITH FUNCTION to_roman(integer);

> What's wrong?

Domains aren't supported as cast source/targets at the moment; I don't
think the system is finding your cast specification at all, but is
instead doing this as 5::text::romano which of course fails.  See past
discussions about the subtleties of trying to fix this.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Nulls, arrays, records, IS NULL, IS DISTINCT FROM
Следующее
От: Erik Jones
Дата:
Сообщение: Re: [GENERAL] Array assignment behavior (was Re: [ADMIN] Stored procedure