From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Greg Stark <gsstark@mit.edu>
Cc: Stefan Weiss <spaceman@foo.at>
Cc: pgsql-sql@postgresql.org
Subject: Re: FW: "=" operator vs. "IS"
Date: Tue, 29 Jun 2004 10:46:03 -0700 (PDT)
Message-ID: <20040629104400.M63066@megazone.bigpanda.com> (raw)
In-Reply-To: <873c4ez2u4.fsf@stark.xeocode.com>
References: <7A4ADADFC8AFF0478D47F63BEDD57CE33A320C@gpmail.gphq.genpathpharma.com>
<200406290102.24885.spaceman@foo.at>
<20040628161747.C38283@megazone.bigpanda.com>
<873c4ez2u4.fsf@stark.xeocode.com>
On Tue, 29 Jun 2004, Greg Stark wrote:
> Stephan Szabo <sszabo@megazone.bigpanda.com> writes:
>
> > IS TRUE and IS FALSE have a different effect from =true and =false when
> > the left hand side is NULL. The former will return false, the latter will
> > return NULL.
>
> No, actually they both return false.
For purposes of anyone reading this in the archives I'd meant NULL IS TRUE
and NULL IS FALSE return false vs NULL=true and NULL=false returning
NULL.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: sszabo@megazone.bigpanda.com, gsstark@mit.edu, spaceman@foo.at
Subject: Re: FW: "=" operator vs. "IS"
In-Reply-To: <20040629104400.M63066@megazone.bigpanda.com>
* 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