Received: from megazone.bigpanda.com (megazone.bigpanda.com [63.150.15.178]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fBL3ESm79896 for ; Thu, 20 Dec 2001 22:14:28 -0500 (EST) (envelope-from sszabo@megazone23.bigpanda.com) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 218F3D5F0; Thu, 20 Dec 2001 19:14:32 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 1742D5BEF; Thu, 20 Dec 2001 19:14:32 -0800 (PST) Date: Thu, 20 Dec 2001 19:14:32 -0800 (PST) From: Stephan Szabo To: Bruno Wolff III Cc: "Bob Smith, Hammett & Edison, Inc." , Subject: Re: Odd behavior with NULL value In-Reply-To: <20011220190935.A16538@wolff.to> Message-ID: <20011220191348.Y85038-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200112/148 X-Sequence-Number: 2871 On Thu, 20 Dec 2001, Bruno Wolff III wrote: > On Thu, Dec 20, 2001 at 04:24:33PM -0800, > "Bob Smith, Hammett & Edison, Inc." 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. :)