pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mir S Islam <mislam@mindspring.com>
To: pgsql-sql@postgresql.org
Subject: who has lock on table/row
Date: Fri, 4 Jan 2002 17:06:08 -0800
Message-ID: <001301c19585$28c36e90$0100a8c0@sjc.mindspring.net> (raw)

Is there a way to find out who(if any) has lock on a table ? Basically I am
trying to do an insert update transaction and it is waiting and waitin until
I hit cancel. Since the application heavily uses transactions/commits I am
assuming somewhere it is leaving something open because of which the
following queries are not updating.

Thanks
Mir




view thread (2+ messages)  latest in thread

Message-ID: <001301c19585$28c36e90$0100a8c0@sjc.mindspring.net>
Permalink:  ../001301c19585$28c36e90$0100a8c0@sjc.mindspring.net/
Also on:    postgresql.org/message-id/001301c19585$28c36e90$0100a8c0@sjc.mindspring.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mislam@mindspring.com
  Subject: Re: who has lock on table/row
  In-Reply-To: <001301c19585$28c36e90$0100a8c0@sjc.mindspring.net>

* 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