Re: Identifying casts

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Identifying casts
Дата
Msg-id 415.1197075448@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Identifying casts  (Marc Munro <marc@bloodnok.com>)
Список pgsql-general
Marc Munro <marc@bloodnok.com> writes:
> Is there any way of identifying whether a cast was built-in or is
> user-defined?

It's not easy.  I'd suggest following the same heuristic pg_dump
does, which is that if any of the source type, target type, or
underlying function is considered user-defined, then the cast is too.

            regards, tom lane

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

Предыдущее
От: "Amit Phatarphekar"
Дата:
Сообщение: Returning columns from different tables, in plpgsql function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Array index not used for query on first element?