From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Bruno Wolff III <bruno@[66.92.219.49]>
Cc: Bob Smith, Hammett & Edison, Inc. <bsmith@h-e.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Odd behavior with NULL value
Date: Thu, 20 Dec 2001 19:14:32 -0800 (PST)
Message-ID: <20011220191348.Y85038-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <20011220190935.A16538@wolff.to>
On Thu, 20 Dec 2001, Bruno Wolff III wrote:
> On Thu, Dec 20, 2001 at 04:24:33PM -0800,
> "Bob Smith, Hammett & Edison, Inc." <bsmith@h-e.com> wrote:
> > See example below of using NULL values with type DATE. It behaves
> > strangely in expressions, "(x <> null)" gives an entirely different
> > result than "not(x = null)". Is this intended behavior, if so, why?
> > If not, is this a bug?
>
> There is a hack which will be off by default in 7.2 that changes
> 'x = null' into 'x is null' for compatibility with sqlserver.
As a note, I think it was actually for some feature of Access. :)
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-admin@postgresql.org
Cc: sszabo@megazone23.bigpanda.com, bruno@[66.92.219.49], bsmith@h-e.com
Subject: Re: Odd behavior with NULL value
In-Reply-To: <20011220191348.Y85038-100000@megazone23.bigpanda.com>
References: <20011220190935.A16538@wolff.to> <20011220191348.Y85038-100000@megazone23.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