Re: [PATCHES] Function's LEAST, GREATEST and DECODE (Oracle vararg polymorphic functions) - Mailing list pgsql-hackers

From David Fetter
Subject Re: [PATCHES] Function's LEAST, GREATEST and DECODE (Oracle vararg polymorphic functions)
Date
Msg-id 20050624161532.GA8946@fetter.org
Whole thread Raw
In response to Re: [PATCHES] Function's LEAST, GREATEST and DECODE (Oracle vararg polymorphic functions)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Jun 24, 2005 at 09:21:25AM -0400, Tom Lane wrote:
> [ moving to -hackers for a wider audience ]
> 
> Today's issue: should the GREATEST/LEAST functions be strict (return
> null if any input is null) or not (return null only if all inputs
> are null, else return the largest/smallest of the non-null inputs)?

I'd say non-strict unless SQL:2003 says different.

Cheers,
D
-- 
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!


pgsql-hackers by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Server instrumentation patch
Next
From: Josh Berkus
Date:
Subject: Re: [PATCHES] O_DIRECT for WAL writes