From: Tom Lane <tgl@sss.pgh.pa.us>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Achilleas Mantzios <achill@matrix.gatewaynet.com>
Cc: pgsql-admin@postgresql.org, "Patrick De Zlio" <pchemla01@gmail.com>
Subject: Re: How to kill process "idle in transaction"
Date: Wed, 31 Oct 2007 20:01:31 -0400
Message-ID: <23306.1193875291@sss.pgh.pa.us> (raw)
In-Reply-To: <dcc563d10710311447t2a2519f7n59d3e2a1c06b6f79@mail.gmail.com>
References: <58729a240710300145m4457f63euc15007893e8a805c@mail.gmail.com>
<200710301111.02475.achill@matrix.gatewaynet.com>
<dcc563d10710311447t2a2519f7n59d3e2a1c06b6f79@mail.gmail.com>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, scott.marlowe@gmail.com, achill@matrix.gatewaynet.com, pchemla01@gmail.com
Subject: Re: How to kill process "idle in transaction"
In-Reply-To: <23306.1193875291@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox