Search Postgresql Archives

Re: 'greatest' function?

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

 



brian wrote:
> jws wrote:
> > Is there any buil-in function to return the lesser of two numbers?
> > 
> > i.e. lesser(100,125) would return 100.
> > 
> > Do I need to roll my own?
> > 
> 
> Which is it--greatest or least?
> 
> No matter, TFM has something to say about it:
> http://www.postgresql.org/docs/current/static/functions-math.html#FUNCTIONS-MATH-FUNC-TABLE

Uh, what function in that table helps him --- I don't see it.

-- 
  Bruce Momjian  <bruce@xxxxxxxxxx>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +


[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