patch for [ psqlodbc-Bugs-1000498 ] rollback to savepoint in case of error - Mailing list pgsql-odbc

From Ludek Finstrle
Subject patch for [ psqlodbc-Bugs-1000498 ] rollback to savepoint in case of error
Date
Msg-id 20051224093543.GA14222@soptik.pzkagis.cz
Whole thread Raw
In response to [ psqlodbc-Bugs-1000498 ] rollback to savepoint in case of error  (<noreply@pgfoundry.org> )
Responses Re: patch for [ psqlodbc-Bugs-1000498 ] rollback to savepoint in case of error  (Ludek Finstrle <luf@pzkagis.cz>)
List pgsql-odbc
Fri, Dec 23, 2005 at 09:35:49AM +0000, noreply@pgfoundry.org napsal(a):
> Bugs item #1000498, was opened at 2005-12-21 15:19
>
> Why does an error breaks the savepoint environment ?

I fix this problem this way:
abort after query failed is examined only if there is autocommit on and
not running manual transaction.

Patch is attached. It could be applied only after psqlodbc-sqlstate.diff.

Please review and comment

Luf

Attachment

pgsql-odbc by date:

Previous
From: "Campbell, Greg"
Date:
Subject: Re: Values in the select
Next
From: Ludek Finstrle
Date:
Subject: Re: patch for [ psqlodbc-Bugs-1000498 ] rollback to savepoint in case of error