how to get the max value in an array - Mailing list pgsql-hackers

From fanngyuan
Subject how to get the max value in an array
Date
Msg-id 4DE84C7F.9010600@gmail.com
Whole thread Raw
Responses Re: how to get the max value in an array
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: vacuum and row type
Next
From: Jim Nasby
Date:
Subject: Re: storing TZ along timestamps