Re: Deadlocks caused by referential integrity checks

Поиск
Список
Период
Сортировка
От Vivek Khera
Тема Re: Deadlocks caused by referential integrity checks
Дата
Msg-id 9D60126E-FA8C-11D8-B1EB-000A9578CFCC@kcilink.com
обсуждение исходный текст
Ответ на Re: Deadlocks caused by referential integrity checks  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-general
On Aug 27, 2004, at 5:16 PM, Joshua D. Drake wrote:

>
>> If PG had a way for me to tell it the action logger transaction was
>> "less important" and should be the one killed, I'd live with that,
>> since the other transaction is usually more expensive.
>
> Hello set the check deferrable.

Thanks... On which transaction would I set that?  The short one or the
long one?  Or both?

And how do you specify that a FK check is deferrable?  Do I need to
drop and recreate the FK with the deferrable attribute?


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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: is last modified timestamp for tables recorded in any system table(s)?
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: pg_autovacuum start-script