Search Postgresql Archives

Re: minimum function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Lane wrote:
Gunther Mayer <gunther.mayer@xxxxxxxxxxxxxx> 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...


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux