min/max (was: The Contrib Roundup)

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема min/max (was: The Contrib Roundup)
Дата
Msg-id 20050612202242.GO44623@decibel.org
обсуждение исходный текст
Ответ на Re: The Contrib Roundup (long)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: min/max (was: The Contrib Roundup)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Jun 10, 2005 at 03:04:49PM -0400, Tom Lane wrote:> misc_utils: I believe that all of these utils are obsolesced
by
> > builtin system commands or easily written userspace functions
> > (like max(x,y)).  Also, is under the GPL (see above).  Author
> > Massimo Dal Zotto (dz@cs.unitn.it)

What about just adding max(x,y) and min(x,y) to the system functions?
Personally I always end up adding these anyway... Versions that accept
arrays would probably be useful as well.
-- 
Jim C. Nasby, Database Consultant               decibel@decibel.org 
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: [GENERAL] mirroring oracle database in pgsql
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: The Contrib Roundup (long)