min/max (was: The Contrib Roundup) - Mailing list pgsql-hackers

From Jim C. Nasby
Subject min/max (was: The Contrib Roundup)
Date
Msg-id 20050612202242.GO44623@decibel.org
Whole thread Raw
In response to Re: The Contrib Roundup (long)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: min/max (was: The Contrib Roundup)
List 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 by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: [GENERAL] mirroring oracle database in pgsql
Next
From: "Marc G. Fournier"
Date:
Subject: Re: The Contrib Roundup (long)