Re: [PATCHES] Small patch to replace 'idle' by 'trans' if transactionis still open

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, The Hermit Hacker <scrappy@hub.org>, Christof Petig <christof@petig-baender.de>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, <pgsql-patches@postgresql.org>
Date: 2001-01-24T15:53:05Z
Lists: pgsql-hackers
Tom Lane writes:

> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Any solid consensus on this?
>
> I'm for it (given a short status string --- "idle in tx" or "idle in trans"
> seem fine).  Marc's for it.  Who's against it?

(I'm not.)  If you're going to do "idle in trans" you might as well spell
it out.  The string will be truncated to the allowed length with no penalty.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/