find open transactions/locks in 7.2?

From: george young <gry(at)ll(dot)mit(dot)edu>
To: pgsql-sql(at)postgresql(dot)org
Subject: find open transactions/locks in 7.2?
Date: 2003-06-09 19:21:12
Message-ID: 20030609152112.0cf0e5e3.gry@ll.mit.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

[select version() --> PostgreSQL 7.2 on i686-pc-linux-gnu, compiled by GCC 3.0.4]

I'm getting hangups every day or so, I presume due to some open transaction
that insert/update/delete'ed on a table that is used by my main app without
a commit.

Is there some way (in 7.2!) to find who's locking what or who has
a transaction open?

-- George

--
I cannot think why the whole bed of the ocean is
not one solid mass of oysters, so prolific they seem. Ah,
I am wandering! Strange how the brain controls the brain!
-- Sherlock Holmes in "The Dying Detective"

Browse pgsql-sql by date

  From Date Subject
Next Message Michael A Nachbaur 2003-06-09 20:08:48 Re: "Join" on delimeter aggregate query
Previous Message Tom Lane 2003-06-09 14:22:23 Re: Column limits in table/ views