Re: max() unexpected type conversion

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: max() unexpected type conversion
Дата
Msg-id 1719.1132585425@sss.pgh.pa.us
обсуждение исходный текст
Ответ на max() unexpected type conversion  (Hélder M. Vieira <hmv@mail.telepac.pt>)
Список pgsql-sql
"Hélder M. Vieira" <hmv@mail.telepac.pt> writes:
> If max() operates on a 'varchar' type column, the result appears with 'text' 
> type.
> Should I expect this behaviour in the current and later versions ?

This is true of just about everything, not only max() -- there are *no*
functions yielding varchar in recent PG releases.
        regards, tom lane


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

Предыдущее
От: Hélder M. Vieira
Дата:
Сообщение: max() unexpected type conversion
Следующее
От: george young
Дата:
Сообщение: tid_le comparison for tuple id (ctid) values?