Adding UNIQUE constraint on NULL column

Поиск
Список
Период
Сортировка
От Dave Smith
Тема Adding UNIQUE constraint on NULL column
Дата
Msg-id 1105624867.17160.9.camel@playpen.candata.com
обсуждение исходный текст
Ответы Re: Adding UNIQUE constraint on NULL column
Re: Adding UNIQUE constraint on NULL column
Список pgsql-general
I am trying to add a unique constraint on a column that can be null. The
documentation states that null is treated as non equal values but I want
them to be equal. Is there another way of doing this other than writing
a before insert trigger?

--
Dave Smith
CANdata Systems Ltd
416-493-9020


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: [HACKERS] Much Ado About COUNT(*)
Следующее
От: Marek Lewczuk
Дата:
Сообщение: Trace triggers