Skip site navigation (1) Skip section navigation (2)

patch for [ psqlodbc-Bugs-1000498 ] rollback to savepoint in case of error

From: Ludek Finstrle <luf(at)pzkagis(dot)cz>
To: pgsql-odbc(at)postgresql(dot)org
Subject: patch for [ psqlodbc-Bugs-1000498 ] rollback to savepoint in case of error
Date: 2005-12-24 09:35:43
Message-ID: 20051224093543.GA14222@soptik.pzkagis.cz (view raw or flat)
Thread:
Lists: pgsql-odbc
Fri, Dec 23, 2005 at 09:35:49AM +0000, noreply(at)pgfoundry(dot)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

In response to

Responses

pgsql-odbc by date

Next:From: Ludek FinstrleDate: 2005-12-24 09:54:04
Subject: Re: patch for [ psqlodbc-Bugs-1000498 ] rollback to savepoint in case of error
Previous:From: Campbell, GregDate: 2005-12-24 04:05:45
Subject: Re: Values in the select

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group