how to get the max value in an array

Поиск
Список
Период
Сортировка
От fanngyuan
Тема how to get the max value in an array
Дата
Msg-id 4DE84C7F.9010600@gmail.com
обсуждение исходный текст
Ответы Re: how to get the max value in an array  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
hi guys:    I'm using int[] in postgrsql to store int array. I want to get max 
value of each row . While I can't find any function to get it(max 
function will get max array in one column) . Even I could write a sql 
function to get the max value. I still think a native funtion is better 
. Can your guys help me?    Thanks


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: vacuum and row type
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: storing TZ along timestamps