Re: minimum function - Mailing list pgsql-general

From Gunther Mayer
Subject Re: minimum function
Date
Msg-id 467FF532.3000804@gmail.com
Whole thread Raw
In response to Re: minimum function  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane wrote:
> Gunther Mayer <gunther.mayer@googlemail.com> writes:
>
>> SELECT minimum(5,6) => 5
>>
>
> You're looking for the least/greatest functions (in 8.1 and up IIRC).
>
>             regards, tom lane
>
Awesome, that's exactly what I was looking for. My pl/pgsql minimum()
hack is gonna go in the dumpster now ;-)

Thanks so much guys.

Gunther

P.S.: Can't believe I didn't spot that in the documentation, that's what
happens in the rare cases of using the wrong search terms...

pgsql-general by date:

Previous
From: Manuel Sugawara
Date:
Subject: Re: permission denied for schema
Next
From: "Wm.A.Stafford"
Date:
Subject: was is the normal number of postgres.exe?