Re: deadlock detection

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: shobha(at)phildigital(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: deadlock detection
Date: 2003-04-09 04:05:03
Message-ID: 4163.1049861103@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

SHOBHA HALDONKAR <shobha(at)phildigital(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Sukumar .S 2003-04-09 05:04:59 Re: Help with setting Posgresql on Linux to work with ASP
Previous Message Nikolaus Dilger 2003-04-09 03:48:20 Re: Speed up a query - using a temp table