Re: Problems with DBI transaction handling - Mailing list pgsql-interfaces

From Rudy Lippan
Subject Re: Problems with DBI transaction handling
Date
Msg-id Pine.LNX.4.44.0302061628470.10054-100000@elfride.ineffable.net
Whole thread Raw
In response to Problems with DBI transaction handling  (Hans-Jürgen Schönig <hs@cybertec.at>)
List pgsql-interfaces
On Tue, 4 Feb 2003, Hans-Jürgen Schönig wrote:

> Date: Tue, 04 Feb 2003 09:59:36 +0100
> From: Hans-Jürgen Schönig <hs@cybertec.at>
> To: pgsql-interfaces@postgresql.org
> Subject: [INTERFACES] Problems with DBI transaction handling
>
> Does anybody else have problems with DBI transaction handling? Since
> PostgreSQL 7.3 (most likely) the stuff seems to be broken. Errors occur
> even if autocommit is set properly and rollbacks are not performed the
> way it should be.

What version of DBD::Pg are you using? There was a fix put in for a bug
with failed transactions in v 1.21. From the chagelog:
   Properly reset transaction status after failed transaction when   autocommit is off. Properly report transaction
failuremessage.   Kai <kai@xs4all.nl> 
>
> Does anybody have similar problems? This is VERY annoying and should not
> happen.

I have been using 7.3 since the end of november, and I have not had any
problems with transactions, BTA this is just a development envionment.

What are you seeing? Do you have any sample code?  Maybe a trace?

> The problem is: There is no other interface around providing persistent
> connections with Perl/Apache.

How are you using  persistant connections?


-r




pgsql-interfaces by date:

Previous
From: "Jeroen T. Vermeulen"
Date:
Subject: Re: how to
Next
From: "Nigel J. Andrews"
Date:
Subject: Re: Problems with DBI transaction handling