Re: AW: [HACKERS] isnull() or is it?t

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: AW: [HACKERS] isnull() or is it?t
Дата
Msg-id 199812091547.KAA11125@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: AW: [HACKERS] isnull() or is it?t  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
Ответы Re: AW: [HACKERS] isnull() or is it?t  (Vince Vielhaber <vev@michvhf.com>)
Список pgsql-hackers
> > With SyBase, IsNull(X,Y) returns X if X is not null, and Y
> > if X is null.
> 
> Which is identical in behavior to the SQL92-defined function
> COALESCE(X,Y) (IsNull() is not in the standard). This is now in the
> Postgres development tree, to be available in the next release. Should
> we also have the less capable IsNull() available too? COALESCE() has the
> nice feature that it takes an unlimited number of arguments, returning
> the first non-null result.

Oh, NVL and isnull are not standard?  Then let's just use coalesce.  I
will remove them from the TODO list.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Constantin Teodorescu
Дата:
Сообщение: Re: [HACKERS] plTcl test failed
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] problem compiling with egcs 1.1.1