pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: SHOBHA HALDONKAR <shobha@phildigital.com>
To: pgsql-admin@postgresql.org
Subject: deadlock detection
Date: Tue, 08 Apr 2003 11:33:58 +0530
Message-ID: <3E92664D.313C3DFE@phil.com.sg> (raw)


HI ,

      We are currenlty using postgresql 7.2.1  database. But it does not
seem to detect deadlocks .
       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  .
 Secondly if the frontend process  is killed but due to some reason the
backend postgres process remains , than how can it be terminated .For
 if i try to use kill command all the postgres processes  gets
terminated .
Please help

--
Regards,
Shobha

view thread (3+ messages)  latest in thread

Message-ID: <3E92664D.313C3DFE@phil.com.sg>
Permalink:  ../3E92664D.313C3DFE@phil.com.sg/
Also on:    postgresql.org/message-id/3E92664D.313C3DFE@phil.com.sg

 · 

reply

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: shobha@phildigital.com
  Subject: Re: deadlock detection
  In-Reply-To: <3E92664D.313C3DFE@phil.com.sg>
  References: <3E92664D.313C3DFE@phil.com.sg>

* 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