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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christof Petig <christof(dot)petig(at)wtal(dot)de>, 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 16:47:47
Message-ID: Pine.LNX.4.21.0010111841560.767-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane writes:

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

Since nothing follows the status indicator in the ps display you can
really make it as long as you want; the rest will be truncated. So you
might want to put it "transaction (idle)", so that the essential
information is first.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joseph Shraibman 2000-10-11 17:50:06 Re: JDBC Large ResultSet problem + BadTimeStamp Patch
Previous Message Peter Eisentraut 2000-10-11 16:40:54 Re: Re: [PATCHES] PostgreSQL virtual hosting support

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2000-10-11 18:10:23 Re: [PATCHES] PgAccess schema-diagram cleanup
Previous Message Peter Eisentraut 2000-10-11 16:40:54 Re: Re: [PATCHES] PostgreSQL virtual hosting support