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

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: (view raw, whole thread or download thread mbox)
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

pgsql-admin by date

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

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