Re: Idle in transaction - Mailing list pgsql-general

From Richard Huxton
Subject Re: Idle in transaction
Date
Msg-id 4A60901F.6080805@archonet.com
Whole thread Raw
In response to Re: Idle in transaction  ("Sharma, Sid" <ssharma@bjs.com>)
List pgsql-general
Sharma, Sid wrote:
> Sorry. Forgot to mention the postgres version
>
> PostgreSQL 8.1.3 on i686-pc-linux-gnu, compiled by GCC 2.96

Why on earth are you using that version? At the very least upgrade to
8.1.17 and if this is a new app, why not use 8.4?

> When I look at the db connections (via ps), I notice that all existing
> connections are in 'Idle in Transaction' state.
>
> They never go to idle state.

You don't say how you are connecting to the DB, but it's probably your
connection manager. Are you running some sort of connection pooling perhaps?

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Idle in transaction
Next
From: Scott Marlowe
Date:
Subject: Re: Idle in transaction