Re: transactionid lock type?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: transactionid lock type?
Дата
Msg-id 10661.1200678858@sss.pgh.pa.us
обсуждение исходный текст
Ответ на transactionid lock type?  (Jan de Visser <jdevisser@digitalfairway.com>)
Список pgsql-general
Jan de Visser <jdevisser@digitalfairway.com> writes:
> So what could make my transaction decide to wait for that other tx?

Usually what this indicates is blocking to acquire a row-level lock,
eg that transaction is waiting to see if it can update a row that the
other one already updated.  In 8.1 and later you can find out which row
is contended for by seeing what row-level lock is held by the *waiting*
transaction (yes, really, not the waited-for one).

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: case dumbiness in return from functions
Следующее
От: Hannes Dorbath
Дата:
Сообщение: Re: [OT] RAID controllers blocking one another?