Re: min() and NaN - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: min() and NaN
Date
Msg-id 200307220134.h6M1Yhr09877@candle.pha.pa.us
Whole thread Raw
In response to Re: min() and NaN  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: min() and NaN  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Is this a TODO?

---------------------------------------------------------------------------

Tom Lane wrote:
> Jean-Luc Lachance <jllachan@nsd.ca> writes:
> > If a compare with NaN is always false, how about rewriting it as:
> > result = ((arg1 < arg2) ? arg2 : arg1).
> 
> That just changes the failure mode.
> 
>             regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-sql by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: OR vs UNION
Next
From: Joe Conway
Date:
Subject: Re: How access to array component