Re: foreign key locks, 2nd attempt

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: foreign key locks, 2nd attempt
Дата
Msg-id 4EBD9B58.5060108@agliodbs.com
обсуждение исходный текст
Ответ на Re: foreign key locks, 2nd attempt  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
>> An UPDATE that modifies the key columns will be blocked, just as now.
>> Same with a DELETE.
> 
> OK, so it prevents non-key data modifications from spilling to the
> referred rows --- nice.

Yes.  Eliminates the leading cause of deadlocks in Postgres applications.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: why do we need two snapshots per query?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: why do we need two snapshots per query?