From: Thomas Swan <tswan-lst@tangent.ics.olemiss.edu>
To: DalTech - CTE <CTE@Dal.Ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: Functions with Null Arguments?
Date: Tue, 15 Aug 2000 13:28:29 -0500
Message-ID: <5.0.0.11.2.20000815132808.01ef3c78@tangent.ics.olemiss.edu> (raw)
In-Reply-To: <012c01c006e6$19287360$5911be86@cte.Dal.Ca>
References: <5.0.0.11.2.20000815010809.01e52570@sunset.backbone.olemiss.edu>
<5.0.0.11.2.20000815114308.020f6e40@tangent.ics.olemiss.edu>
At 01:24 PM 8/15/2000, DalTech - CTE wrote:
>Known bug in some versions. I believe it was fixed in v7.x, though.
>
>Cheers....
>----- Original Message -----
>From: <mailto:tswan-lst@tangent.ics.olemiss.edu>Thomas Swan
>To: <mailto:CTE@Dal.Ca>DalTech - CTE ; <mailto:tswan@olemiss.edu>Thomas Swan
>Cc: <mailto:pgsql-sql@postgresql.org>Pgsql-sql
>Sent: Tuesday, August 15, 2000 1:43 PM
>Subject: Re: [SQL] Functions with Null Arguments?
>
>At 10:12 AM 8/15/2000, DalTech - CTE wrote:
>>I would try using COALESCE(list) which will return the first non-NULL in
>>the list.
>That worked! Thanks!
>
>The second part is why does postgresql not evaluate the function if one of
>the arguments is null?
I'm using version 7.0.2 (x86 Linux)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: tswan-lst@tangent.ics.olemiss.edu, CTE@Dal.Ca
Subject: Re: Functions with Null Arguments?
In-Reply-To: <5.0.0.11.2.20000815132808.01ef3c78@tangent.ics.olemiss.edu>
References: <5.0.0.11.2.20000815010809.01e52570@sunset.backbone.olemiss.edu> <5.0.0.11.2.20000815114308.020f6e40@tangent.ics.olemiss.edu> <5.0.0.11.2.20000815132808.01ef3c78@tangent.ics.olemiss.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox