From: Tom Lane <tgl@sss.pgh.pa.us>
To: chester c young <chestercyoung@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: null = null
Date: Sat, 19 Jan 2002 12:45:53 -0500
Message-ID: <14214.1011462353@sss.pgh.pa.us> (raw)
In-Reply-To: <20020119163946.8413.qmail@web12708.mail.yahoo.com>
References: <20020119163946.8413.qmail@web12708.mail.yahoo.com>
chester c young <chestercyoung@yahoo.com> writes:
> the following took me by suprise:
> egg=# select null=null;
> ?column?
> ----------
> t
This is a Microsoft-compatibility kluge that is going away in the next
release, or at least not being enabled by default.
regression=# select version();
version
---------------------------------------------------------------
PostgreSQL 7.2b5 on hppa-hp-hpux10.20, compiled by GCC 2.95.3
(1 row)
regression=# select null = null;
?column?
----------
(1 row)
regression=# select null IS null;
?column?
----------
t
(1 row)
regression=# set transform_null_equals to 1;
SET VARIABLE
regression=# select null = null;
?column?
----------
t
(1 row)
See the 7.2 docs at
http://developer.postgresql.org/docs/postgres/functions-comparison.html
regards, tom lane
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: tgl@sss.pgh.pa.us, chestercyoung@yahoo.com
Subject: Re: null = null
In-Reply-To: <14214.1011462353@sss.pgh.pa.us>
* 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