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