pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Marko Ristola <marko.ristola@kolumbus.fi>
Cc: 'pgsql-odbc@postgresql.org' <pgsql-odbc@postgresql.org>
Subject: Re: Transactions and savepoints
Date: Wed, 30 Mar 2005 20:11:18 +0200
Message-ID: <200503302011.18601.peter_e@gmx.net> (raw)
In-Reply-To: <42453163.6060508@kolumbus.fi>
References: <42453163.6060508@kolumbus.fi>

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/



view thread (11+ messages)  latest in thread

Message-ID: <200503302011.18601.peter_e@gmx.net>
Permalink:  ../200503302011.18601.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200503302011.18601.peter_e@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: peter_e@gmx.net, marko.ristola@kolumbus.fi
  Subject: Re: Transactions and savepoints
  In-Reply-To: <200503302011.18601.peter_e@gmx.net>
  References: <42453163.6060508@kolumbus.fi> <200503302011.18601.peter_e@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox