Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group