From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-performance@postgresql.org
Subject: Re: Finding the PID keeping a transaction open
Date: Tue, 25 Mar 2003 10:30:49 -0500
Message-ID: <20030325103049.A28249@mail.libertyrms.com> (raw)
In-Reply-To: <28390.1048603061@sss.pgh.pa.us>
References: <20030325081233.B18817@mail.libertyrms.com>
<28390.1048603061@sss.pgh.pa.us>
On Tue, Mar 25, 2003 at 09:37:41AM -0500, Tom Lane wrote:
> In 7.3 you could look at the pg_locks system view, but I can't think
> of any reasonable way to do it in 7.2 :-(
Thanks. I was afraid you'd say that. Rats.
> would take many minutes --- which you'd have to do with the LockMgr lock
> held to keep them from changing underneath you. This seems quite
Well, then, _that's_ a non-starter. Ugh.
> It's conceivable that some version of the pg_locks code could be
> back-ported to 7.2 --- you'd have to settle for dumping the info to
> the log, probably, due to lack of table-function support, but it
> could be done.
I think it's probably better just to work on making the whole thing
work correctly with 7.3, instead. I'm keen to move it, and 7.3 seems
stable enough, so I'm inclined just to move that up in priority.
Thanks,
A
--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew@libertyrms.info> M2P 2A8
+1 416 646 3304 x110
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-performance@postgresql.org
Cc: andrew@libertyrms.info
Subject: Re: Finding the PID keeping a transaction open
In-Reply-To: <20030325103049.A28249@mail.libertyrms.com>
References: <20030325081233.B18817@mail.libertyrms.com> <28390.1048603061@sss.pgh.pa.us> <20030325103049.A28249@mail.libertyrms.com>
* 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