Re: Small patch to replace 'idle' by 'trans' if transaction is still open
Philip Warner <pjw@rhyme.com.au>
From: Philip Warner <pjw@rhyme.com.au>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Christof Petig <christof.petig@wtal.de>, Bruce Momjian <pgman@candle.pha.pa.us>, pgsql-patches@postgresql.org
Date: 2000-10-13T01:59:09Z
Lists: pgsql-hackers
At 11:15 11/10/00 -0400, Tom Lane wrote:
>
>There was another thread recently about adding a SHOW command or some
>such to dump out the state of the lock manager's table in a readable
>form. I think that'd be a more useful thing to work on than trying
>to cram one or two bits' worth of info into the ps display.
>
Absolutely. I assume from this that the nature and state of all locks are
stored in shared memory somewhere, and that the data is able to be
interpreted without reference to non-shared data. If so, this would seem to
be (a) a very useful thing to have and (b) not too hard. Is that right?
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/