Re: Stupid question on Read Committed Isolation Level

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Stupid question on Read Committed Isolation Level
Дата
Msg-id 25435.1075400494@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Stupid question on Read Committed Isolation Level  (Chris Bowlby <chris@pgsql.com>)
Список pgsql-hackers
Chris Bowlby <chris@pgsql.com> writes:
> Would this not create the potention for a dead lock if transaction1 is
> never completed, and still active for an indefinate period of time?

If trans1 later waits (directly or indirectly) for trans2, we'll detect
the deadlock and abort one xact or the other to clear it.  If trans1 is
idle because the client is asleep at the wheel, that could be
unfortunate, but it's not a deadlock.
        regards, tom lane


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

Предыдущее
От: Chris Bowlby
Дата:
Сообщение: Re: Stupid question on Read Committed Isolation Level
Следующее
От: "Jeroen T. Vermeulen"
Дата:
Сообщение: Re: Stupid question on Read Committed Isolation Level