Re: How to kill process "idle in transaction"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
Cc: "Achilleas Mantzios" <achill(at)matrix(dot)gatewaynet(dot)com>, pgsql-admin(at)postgresql(dot)org, "Patrick De Zlio" <pchemla01(at)gmail(dot)com>
Subject: Re: How to kill process "idle in transaction"
Date: 2007-11-01 00:01:31
Message-ID: 23306.1193875291@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> writes:
> On 10/30/07, Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> wrote:
>> Some connection pools issue a BEGIN on the connection just
>> after the previous user of the connection issues COMMIT and
>> then closes it (Jboss does it). So, <IDLE> in transaction is not
>> apriori bad.

> You can turn off that behaviour, IIRC. It is broken behaviour as far
> as pgsql is concerned, I believe.

As of 8.3 it should be harmless, but in existing releases it's bad news.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Nandakumar Tantry 2007-11-01 05:44:23 Re: initdb: could not create directory "C:/Program Files" (was: Installing PostgreSQL as Admin)
Previous Message Richard Broersma Jr 2007-10-31 23:06:41 Re: PL/JAVA issues