UNIQUE not honoured for NULL

Поиск
Список
Период
Сортировка
От David Newall
Тема UNIQUE not honoured for NULL
Дата
Msg-id 1089110449.5002.16.camel@localhost.localdomain
обсуждение исходный текст
Ответы Re: UNIQUE not honoured for NULL  (Peter Eisentraut <peter_e@gmx.net>)
Re: UNIQUE not honoured for NULL  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Re: UNIQUE not honoured for NULL  (Gaetano Mendola <mendola@bigfoot.com>)
Список 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 по дате отправления:

Предыдущее
От: David Newall
Дата:
Сообщение: Can't join on null values
Следующее
От: "Dario V. Fassi"
Дата:
Сообщение: Re: [JDBC] Error in DatabaseMetaData.getColumns() with Views