Re: [HACKERS] 'Waiting on lock'

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: [HACKERS] 'Waiting on lock'
Дата
Msg-id 87fy4o86p6.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: [HACKERS] 'Waiting on lock'  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: [HACKERS] 'Waiting on lock'  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
"Gregory Stark" <stark@enterprisedb.com> writes:

> Incidentally in looking at this I found that the "early deadlock detection"
> never seems to fire. Reading the source it seems it ought to be firing
> whenever we have a simple two-process deadlock. But instead I only get the
> timeout-based detection.

Ok, I understand now that early deadlock detection only kicks in when doing
something like LOCK TABLE and even then only if you're deadlocking because
you're upgrading a lock. So this works as intended though it's much less
useful than I thought.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Load Distributed Checkpoints, revised patch
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Preliminary GSSAPI Patches