Re: Multicolumn foreign keys need useless unique indices?

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Multicolumn foreign keys need useless unique indices?
Дата
Msg-id 1031931742.16745.14.camel@jester
обсуждение исходный текст
Ответ на Re: Multicolumn foreign keys need useless unique indices?  (Hannu Krosing <hannu@tm.ee>)
Ответы Re: Multicolumn foreign keys need useless unique indices?  (Hannu Krosing <hannu@tm.ee>)
Список pgsql-hackers
> hannu=# update t set i=i+1;
> ERROR:  Cannot insert a duplicate key into unique index t_i_key

A possibility may be to reverse the sequential scan order for the simple
cases, but anything any more complex and the check should be deferred
till end of statement, rather than checking immediately.


--  Rod Taylor



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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: TOAST docs
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: TOAST docs