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

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

From: Christof Petig <christof(dot)petig(at)wtal(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 06:54:29
Message-ID: 39E40EA5.4DCFAB1E@wtal.de (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Tom Lane wrote:

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > I can't decide if this is of general use.  My inclination is that
> > someone in a transaction sitting a prompt should still show as idle.
>
> The idea seemed good to me, although I didn't look at the code to see
> if the implementation was any good ;-).  I know we've frequently had
> questions on the lists where it was interesting to know if any
> transactions were being held open --- and right now there's no easy
> way to tell.
>
>                         regards, tom lane

I would even propose 'idle (transaction open)' if you agree. (Seemed too
long for me)
The patch is _trivial_ a string changed to a condifional operator and two
strings (two times). A two liner.

   Christof



In response to

Responses

pgsql-hackers by date

Next:From: fabrizio.erminiDate: 2000-10-11 09:02:24
Subject: Re: Re: [HACKERS] My new job
Previous:From: Bruce MomjianDate: 2000-10-11 03:20:42
Subject: Re: Re: [HACKERS] My new job

pgsql-patches by date

Next:From: Tom LaneDate: 2000-10-11 14:03:00
Subject: Re: Small patch to replace 'idle' by 'trans' if transaction is still open
Previous:From: Denis PerchineDate: 2000-10-11 04:27:43
Subject: Re: Large objects in one table patch

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