UNIQUE not honoured for NULL - Mailing list pgsql-bugs

From David Newall
Subject UNIQUE not honoured for NULL
Date
Msg-id 1089110449.5002.16.camel@localhost.localdomain
Whole thread Raw
Responses Re: UNIQUE not honoured for NULL
Re: UNIQUE not honoured for NULL
Re: UNIQUE not honoured for NULL
List pgsql-bugs
PostgreSQL version:  7.4.3 (RPMs from ftp.au.postgresql.org)

Operating Sysem: Fedora Core 1

CREATE TABLE t(i integer UNIQUE);
INSERT INTO t VALUES (null);
INSERT INTO t VALUES (null);
SELECT coalesce(i,-999) FROM t;
 coalesce
----------
     -999
     -999
(2 rows)

pgsql-bugs by date:

Previous
From: David Newall
Date:
Subject: Can't join on null values
Next
From: "Dario V. Fassi"
Date:
Subject: Re: [JDBC] Error in DatabaseMetaData.getColumns() with Views