Re: Unique functional index and FK constraints

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unique functional index and FK constraints
Дата
Msg-id 20816.1037074228@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Unique functional index and FK constraints  (Kris Jurka <jurka@ejurka.com>)
Список pgsql-hackers
Kris Jurka <jurka@ejurka.com> writes:
> When you restructured the unique index location and validation for
> foreign key constraints around 9/22 you added the restriction that the
> supporting unique index may not be functional.  I believe that this
> restriction is not necessary.

Hmm ... I'm not convinced.  What about functions that return NULL for
some inputs?  A unique index will not reject multiple NULL entries.
        regards, tom lane


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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Unique functional index and FK constraints
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: the map file between gb18030 and utf8 is error