Re: domain casting?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: domain casting?
Дата
Msg-id 11007.1186769301@sss.pgh.pa.us
обсуждение исходный текст
Ответ на domain casting?  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Список pgsql-hackers
"Pavel Stehule" <pavel.stehule@gmail.com> writes:
> Is possible casting domain?

No, because find_coercion_pathway() expects that only base types are
listed in pg_cast, so it starts by stripping domains.  Function lookup
tends to do that too, so it's hard even to declare a function as taking
a domain.

Elein was going to look into devising a more domain-friendly set of
type coercion rules, but I dunno if she's made any progress.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Unexpected VACUUM FULL failure
Следующее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: crypting prosrc in pg_proc