Re: deadlock detection - Mailing list pgsql-admin

From Tom Lane
Subject Re: deadlock detection
Date
Msg-id 4163.1049861103@sss.pgh.pa.us
Whole thread Raw
In response to deadlock detection  (SHOBHA HALDONKAR <shobha@phildigital.com>)
Responses Re: deadlock detection
List 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 by date:

Previous
From: "Nikolaus Dilger"
Date:
Subject: Re: Speed up a query - using a temp table
Next
From: Michael Brusser
Date:
Subject: Compile errors on AIX