From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | chester c young <chestercyoung(at)yahoo(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: null = null |
Date: | 2002-01-19 17:45:53 |
Message-ID: | 14214.1011462353@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
chester c young <chestercyoung(at)yahoo(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | chester c young | 2002-01-19 18:53:55 | table alias on update and delete query |
Previous Message | Tom Lane | 2002-01-19 17:36:31 | Re: pltlc and pltlcu problems |