Re: How to kill process "idle in transaction" - Mailing list pgsql-admin

From Tom Lane
Subject Re: How to kill process "idle in transaction"
Date
Msg-id 23306.1193875291@sss.pgh.pa.us
Whole thread Raw
In response to Re: How to kill process "idle in transaction"  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List pgsql-admin
"Scott Marlowe" <scott.marlowe@gmail.com> writes:
> On 10/30/07, Achilleas Mantzios <achill@matrix.gatewaynet.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

pgsql-admin by date:

Previous
From: Dinesh
Date:
Subject: Slony with Linux Heartbeat
Next
From: Richard Broersma Jr
Date:
Subject: Re: PL/JAVA issues