Re: NULL values seem to short-circuit my unique index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: NULL values seem to short-circuit my unique index
Дата
Msg-id 25115.1222657490@sss.pgh.pa.us
обсуждение исходный текст
Ответ на NULL values seem to short-circuit my unique index  (Matthew Wilson <matt@tplus1.com>)
Список pgsql-general
Matthew Wilson <matt@tplus1.com> writes:
> It seems like I can insert two rows with NULL values in a column with a
> unique constraint just fine.

This is per SQL spec and quite well-documented in our manual ...

            regards, tom lane

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

Предыдущее
От: Chris
Дата:
Сообщение: Re: NULL values seem to short-circuit my unique index
Следующее
От: Klint Gore
Дата:
Сообщение: Re: NULL values seem to short-circuit my unique index