Re: Unique Index

Поиск
Список
Период
Сортировка
От Roman Neuhauser
Тема Re: Unique Index
Дата
Msg-id 20050119163503.GC74874@isis.wad.cz
обсуждение исходный текст
Ответ на Unique Index  (Alex <alex@meerkatsoft.com>)
Ответы Re: Unique Index  ("J. Greenlees" <jaqui@telus.net>)
Список pgsql-general
# alex@meerkatsoft.com / 2005-01-20 01:35:32 +1100:
> i have a unique index on a table over multiple columns. If now one of
> the records has a null value in one of the indexed columns i can insert
> the same record multiple times.
>
> Is this a problem within postgres or expected?

    In SQL, NULL means "unknown value". How could you assert that two
    NULLs are equal?

--
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html

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

Предыдущее
От: Együd Csaba (Freemail)
Дата:
Сообщение: Re: PostgreSQL 8.0.0 Released
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Retrieving a field from the NEW record