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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Attachment Content-Type Size
psqlodbc-transact_abort.diff text/plain 1.3 KB

In response to

Responses

Browse pgsql-odbc by date

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