Re: AW: [HACKERS] isnull() or is it?t - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: AW: [HACKERS] isnull() or is it?t
Date
Msg-id 366E9591.6EF51E57@alumni.caltech.edu
Whole thread Raw
In response to AW: [HACKERS] isnull() or is it?t  (Zeugswetter Andreas IZ5 <Andreas.Zeugswetter@telecom.at>)
Responses Re: AW: [HACKERS] isnull() or is it?t  (Bruce Momjian <maillist@candle.pha.pa.us>)
List 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.
                  - Tom


pgsql-hackers by date:

Previous
From: Oleg Broytmann
Date:
Subject: Re: [HACKERS] Date/time on glibc2 linux
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] problem compiling with egcs 1.1.1