Re: 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: Re: patch for [ psqlodbc-Bugs-1000498 ] rollback to savepoint in case of error
Date: 2005-12-24 09:54:04
Message-ID: 20051224095404.GA14270@soptik.pzkagis.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

> > 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

I make previous patch againist older source :-(
I attach new one (it differ only in layout).

Regards,

Luf

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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message noreply 2005-12-24 10:40:45 [ psqlodbc-Bugs-1000498 ] rollback to savepoint in case of error
Previous Message Ludek Finstrle 2005-12-24 09:35:43 patch for [ psqlodbc-Bugs-1000498 ] rollback to savepoint in case of error