Re: min() and NaN

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: min() and NaN
Дата
Msg-id 200307220134.h6M1Yhr09877@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: min() and NaN  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: min() and NaN  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: OR vs UNION
Следующее
От: Joe Conway
Дата:
Сообщение: Re: How access to array component