Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group