Re: Small patch to replace 'idle' by 'trans' if transaction is still open

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Christof Petig <christof(dot)petig(at)wtal(dot)de>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Small patch to replace 'idle' by 'trans' if transaction is still open
Date: 2000-10-11 15:14:58
Message-ID: 3.0.5.32.20001012011458.034c7ec0@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

At 10:03 11/10/00 -0400, Tom Lane wrote:
>Christof Petig <christof(dot)petig(at)wtal(dot)de> writes:
>> I would even propose 'idle (transaction open)' if you agree. (Seemed too
>> long for me)
>
>No, the ps strings have got to be *short*. A lot of platforms have a
>tight limit on how much command string ps will show. I thought 'trans'
>was OK, though perhaps someone has an even better idea?

Any chance of showing if anything has been updated in the TX? Then the text
could be:

RW TX
or
RO TX

If not, then how about 'TX Active' or 'TX Open' or just 'In TX'

----------------------------------------------------------------
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 |/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-10-11 15:15:54 Re: Small patch to replace 'idle' by 'trans' if transaction is still open
Previous Message Bruce Momjian 2000-10-11 15:14:56 Re: Small patch to replace 'idle' by 'trans' if transaction is still open

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2000-10-11 15:15:54 Re: Small patch to replace 'idle' by 'trans' if transaction is still open
Previous Message Bruce Momjian 2000-10-11 15:14:56 Re: Small patch to replace 'idle' by 'trans' if transaction is still open