min/max (was: The Contrib Roundup)

From: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: josh(at)agliodbs(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: min/max (was: The Contrib Roundup)
Date: 2005-06-12 20:22:42
Message-ID: 20050612202242.GO44623@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)cs(dot)unitn(dot)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(at)decibel(dot)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?"

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2005-06-12 20:52:30 Re: The Contrib Roundup (long)
Previous Message Jim C. Nasby 2005-06-12 19:52:32 Re: mirroring oracle database in pgsql