Re: 'greatest' function?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: 'greatest' function?
Дата
Msg-id 200702080414.l184E4g06682@momjian.us
обсуждение исходный текст
Ответ на Re: 'greatest' function?  (brian <brian@zijn-digital.com>)
Ответы Re: 'greatest' function?  ("jws" <jsacksteder@gmail.com>)
Список pgsql-general
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@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

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

В списке pgsql-general по дате отправления:

Предыдущее
От: brian
Дата:
Сообщение: Re: 'greatest' function?
Следующее
От: "Adam Rich"
Дата:
Сообщение: Re: 'greatest' function?