Re: deadlock detection

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: deadlock detection
Дата
Msg-id 4163.1049861103@sss.pgh.pa.us
обсуждение исходный текст
Ответ на deadlock detection  (SHOBHA HALDONKAR <shobha@phildigital.com>)
Ответы Re: deadlock detection
Список pgsql-admin
SHOBHA HALDONKAR <shobha@phildigital.com> writes:
>        Suppose if a record is locked with update  command   and another
> concurrent user  tries to lock the same record and the first transaction
> for some reason , eg. m/c hangings   is not committed  both the
> transactions remains locked for indefinite period . I have checked the
> setting in postgresql.config  for deadlock_timeout  which is set to 1000
> . Than why doesn't  the transaction deatect deadlock after 1000
> millisecond  .

Waiting for a client that chooses not to commit is not a deadlock.

            regards, tom lane


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

Предыдущее
От: "Nikolaus Dilger"
Дата:
Сообщение: Re: Speed up a query - using a temp table
Следующее
От: Michael Brusser
Дата:
Сообщение: Compile errors on AIX