Re: 'greatest' function? - Mailing list pgsql-general

From brian
Subject Re: 'greatest' function?
Date
Msg-id 45CAA1D8.4030609@zijn-digital.com
Whole thread Raw
In response to 'greatest' function?  ("jws" <jsacksteder@gmail.com>)
Responses Re: 'greatest' function?
Re: 'greatest' function?
List pgsql-general
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

brian

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: GPL Licensed Files in 8.1.4
Next
From: Bruce Momjian
Date:
Subject: Re: 'greatest' function?