From: Tom Lane <tgl@sss.pgh.pa.us>
To: shobha@phildigital.com
Cc: pgsql-admin@postgresql.org
Subject: Re: deadlock detection
Date: Wed, 09 Apr 2003 00:05:03 -0400
Message-ID: <4163.1049861103@sss.pgh.pa.us> (raw)
In-Reply-To: <3E92664D.313C3DFE@phil.com.sg>
References: <3E92664D.313C3DFE@phil.com.sg>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, shobha@phildigital.com
Subject: Re: deadlock detection
In-Reply-To: <4163.1049861103@sss.pgh.pa.us>
References: <3E92664D.313C3DFE@phil.com.sg> <4163.1049861103@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox