Re: '<IDLE> in transaction' problem in mod_perl/DBI/DBD-Pg environment.

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Cc: mallah(at)trade-india(dot)com
Subject: Re: '<IDLE> in transaction' problem in mod_perl/DBI/DBD-Pg environment.
Date: 2004-10-26 01:36:21
Message-ID: d248190ba2775b00038cd421e6f0f4a1@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


-----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(at)turnstep(dot)com
PGP Key: 0x14964AC8 200410252136

-----BEGIN PGP SIGNATURE-----

iD8DBQFBfapWvJuQZxSWSsgRAn/aAJsFNzN1ru5GpjTL30iM1Oj2EXQ9/QCfTFYa
LxQN3UVonFcFpKYEkf0ypog=
=Hc+B
-----END PGP SIGNATURE-----

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message aditya s 2004-10-26 01:56:10 Running pgreplicator 1.1.0 in redhat linux 9.0
Previous Message Scott Marlowe 2004-10-26 00:44:33 Re: Index relation size