Re: Foreign Key Deferrable Misunderstanding or Bug?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Foreign Key Deferrable Misunderstanding or Bug?
Дата
Msg-id 20090806144542.Y96899@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Foreign Key Deferrable Misunderstanding or Bug?  (Paul Rogers <progers@sparkbase.com>)
Список pgsql-general
On Thu, 6 Aug 2009, Paul Rogers wrote:

> Why does the attached script fail with a foreign key constraint violation?

Referential actions are not deferred when a constraint is marked
deferrable (as that appears to be what the spec wants), so ON DELETE
RESTRICT will still fail on the statement, while ON DELETE NO ACTION (ie,
only check at constraint check time) should wait to the end.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Foreign Key Deferrable Misunderstanding or Bug?
Следующее
От: Josh Trutwin
Дата:
Сообщение: Re: Empty Updates, ON UPDATE triggers and Rules