Re: Current enums patch

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Current enums patch
Дата
Msg-id 460FB7C5.6010007@dunslane.net
обсуждение исходный текст
Ответ на Re: Current enums patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Current enums patch
Список pgsql-patches
Tom Lane wrote:
> enum_first, enum_last: these return ANYENUM but violate the rule that
> a polymorphic-result function must have a polymorphic input argument
> from which the parser may deduce the actual output type.
>

Is this a tragedy when the supplied parameter gives the result type
directly?

If it really is, maybe we should return text instead of the enum
directly (or array of text in the case of enum_range).



cheers

andrew



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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: bgwriter stats
Следующее
От: Tom Dunstan
Дата:
Сообщение: Re: Current enums patch