create unique index doesn't work properly

Поиск
Список
Период
Сортировка
От Domingo Alvarez Duarte
Тема create unique index doesn't work properly
Дата
Msg-id 3AFDB5A4.8E921F09@dad-it.com
обсуждение исходный текст
Ответы Re: create unique index doesn't work properly  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
when executing the code bellow:

---
create table test_unique(i1 integer, i2 integer, unique(i1,i2));
insert into test_unique(1,null);
insert into test_unique(1,null);
insert into test_unique(1,null);
---

all "inserts" terminate sucefully, if there isn't "null" values it works
fine.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: John Summerfield
Дата:
Сообщение: Documentation problem in postgresql-7.0.2
Следующее
От: "A.V.Shutko"
Дата:
Сообщение: Postgres bug (working with iserverd)