Re: Functions with Null Arguments?

From: Thomas Swan <tswan-lst(at)tangent(dot)ics(dot)olemiss(dot)edu>
To: "DalTech - CTE" <CTE(at)Dal(dot)Ca>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Functions with Null Arguments?
Date: 2000-08-15 18:28:29
Message-ID: 5.0.0.11.2.20000815132808.01ef3c78@tangent.ics.olemiss.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)tangent(dot)ics(dot)olemiss(dot)edu>Thomas Swan
>To: <mailto:CTE(at)Dal(dot)Ca>DalTech - CTE ; <mailto:tswan(at)olemiss(dot)edu>Thomas Swan
>Cc: <mailto:pgsql-sql(at)postgresql(dot)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)

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Antoine Reid 2000-08-15 18:43:14 Re: Use a rule or a transaction
Previous Message Adam Lang 2000-08-15 18:07:55 Re: copy from