pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Sabino Mullane <greg@turnstep.com>
To: pgsql-admin@postgresql.org
Cc: mallah@trade-india.com
Subject: Re: '<IDLE> in transaction' problem in mod_perl/DBI/DBD-Pg environment.
Date: Tue, 26 Oct 2004 01:36:21 -0000
Message-ID: <d248190ba2775b00038cd421e6f0f4a1@biglumber.com> (raw)
In-Reply-To: <417C912E.3080109@trade-india.com>


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
                                                                                                                             
                                                                                                                             
> Are there some precuation to be taken in perl/DBI programming
> in mod_perl environment to avoid backends getting into '<IDLE> in
> transaction' mode?
                                                                                                                             
If you are not using the latest version of DBD::Pg (1.32), then you
may be experiencing the problem where the "AutoCommit" setting
causes "execute->commit->begin->wait." This is fixed in 1.32: it
now does "begin->execute->commit->wait".
 
- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200410252136
 
-----BEGIN PGP SIGNATURE-----
 
iD8DBQFBfapWvJuQZxSWSsgRAn/aAJsFNzN1ru5GpjTL30iM1Oj2EXQ9/QCfTFYa
LxQN3UVonFcFpKYEkf0ypog=
=Hc+B
-----END PGP SIGNATURE-----





view thread (5+ messages)

Message-ID: <d248190ba2775b00038cd421e6f0f4a1@biglumber.com>
Permalink:  ../d248190ba2775b00038cd421e6f0f4a1@biglumber.com/
Also on:    postgresql.org/message-id/d248190ba2775b00038cd421e6f0f4a1@biglumber.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: greg@turnstep.com, mallah@trade-india.com
  Subject: Re: '<IDLE> in transaction' problem in mod_perl/DBI/DBD-Pg environment.
  In-Reply-To: <d248190ba2775b00038cd421e6f0f4a1@biglumber.com>
  References: <417C912E.3080109@trade-india.com> <d248190ba2775b00038cd421e6f0f4a1@biglumber.com>

* 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