Re: BUG #2905: min and max return incorrect text type

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #2905: min and max return incorrect text type
Дата
Msg-id 27858.1169403433@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #2905: min and max return incorrect text type  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: BUG #2905: min and max return incorrect text type  (Adriaan van Os <postgres@microbizz.nl>)
Список pgsql-bugs
Bruce Momjian <bruce@momjian.us> writes:
> Peter Eisentraut wrote:
>> Aside from the apparent discrepancy between the documentation and the
>> actual behavior, is there an actual use case where this is a problem?

> No, I don't think so, and I am reluctant to adjust the documentation to
> say "or similar".

The documentation is correct as it stands: max(text) returns text.
Adriaan's complaint about max(varchar) is off base because there is
no such function.

            regards, tom lane

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Troubles in Initializing Postgres Database 8.2
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #2905: min and max return incorrect text type