Re: NULL safe equality operator

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Michael Glaesemann <grzm(at)myrealbox(dot)com>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: NULL safe equality operator
Date: 2005-11-25 07:24:02
Message-ID: 4386BC12.7050007@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> when ($1 is null and $2 is not null)
> or ($1 is not null and $2 is null) then 0

That's the same as:

when $1 is null != $2 is null then 0

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Glaesemann 2005-11-25 07:37:33 Re: NULL safe equality operator
Previous Message Qingqing Zhou 2005-11-25 05:58:23 Re: gprof SELECT COUNT(*) results