Re: Transactions and savepoints

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Marko Ristola <marko(dot)ristola(at)kolumbus(dot)fi>
Cc: "'pgsql-odbc(at)postgresql(dot)org'" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Transactions and savepoints
Date: 2005-03-30 18:11:18
Message-ID: 200503302011.18601.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Marko Ristola wrote:
> I have been thinking about savepoints.
> What do you think about the following:

The interface and behavior of the ODBC driver is bound by various public
standards such as the SQL standard and the Microsoft ODBC
pseudostandard. So any new functionality should be based on either of
these sources. Does that apply to your proposal?

> They would keep the knoledge about the following things:
> - Current transaction state (is in autocommit mode, in transaction,
> and the savepoint stack structure.

This information is available on the protocol level and does not to be
tracked.

> This would make the savepoint rollback work with cursors:

I'm not exactly up to speed on how savepoints interact with cursors
nowadays. Perhaps you could first explain what problem you are trying
to solve?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Peter Eisentraut 2005-03-30 18:14:20 Re: Ignoring the limited user-rights by using ODBC
Previous Message Peter Eisentraut 2005-03-30 18:08:16 Re: psqlODBC 'ERROR: invalid input syntax for integer: =?iso-8859-1?q?A=02?='