X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D759B53453 for ; Wed, 30 Mar 2005 19:11:26 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 84566-03 for ; Wed, 30 Mar 2005 18:11:20 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id D41345353B for ; Wed, 30 Mar 2005 19:11:18 +0100 (BST) Received: (qmail invoked by alias); 30 Mar 2005 18:11:19 -0000 Received: from dsl-082-082-236-229.arcor-ip.net (EHLO colt.pezone.net) [82.82.236.229] by mail.gmx.net (mp006) with SMTP; 30 Mar 2005 20:11:19 +0200 X-Authenticated: #495269 From: Peter Eisentraut To: Marko Ristola Subject: Re: Transactions and savepoints Date: Wed, 30 Mar 2005 20:11:18 +0200 User-Agent: KMail/1.7.1 Cc: "'pgsql-odbc@postgresql.org'" References: <42453163.6060508@kolumbus.fi> In-Reply-To: <42453163.6060508@kolumbus.fi> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503302011.18601.peter_e@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/122 X-Sequence-Number: 5140 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/