X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B1C4F9DCC2D for ; Wed, 22 Mar 2006 10:54:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 69638-01 for ; Wed, 22 Mar 2006 10:54:21 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 5E2A29DCC0D for ; Wed, 22 Mar 2006 10:54:15 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k2MEsJaV016381; Wed, 22 Mar 2006 09:54:19 -0500 (EST) To: Bart Samwel cc: Ludek Finstrle , pgsql-odbc@postgresql.org Subject: Re: Future development In-reply-to: <44214551.5060202@samwel.tk> References: <441AB081.9090901@samwel.tk> <20060322112325.GD6294@soptik.pzkagis.cz> <44214551.5060202@samwel.tk> Comments: In-reply-to Bart Samwel message dated "Wed, 22 Mar 2006 13:38:41 +0100" Date: Wed, 22 Mar 2006 09:54:19 -0500 Message-ID: <16380.1143039259@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.113 required=5 tests=[AWL=0.113] X-Spam-Score: 0.113 X-Spam-Level: X-Archive-Number: 200603/142 X-Sequence-Number: 7428 Bart Samwel writes: > Ludek Finstrle wrote: >> Could you explain me the "Level of rollback on errors"? I think that >> when programmer doesn't use autocommit mode he want react on errors >> himself. > Like I said in my other message, the 8.01 driver doesn't give me a > choice in how to react on errors at all: it forces me to rollback the > complete transaction. I want to have a choice in that. The 7.03 driver > allows me to set the "Level of rollback on errors" to "Statement", which > means that only the failed statement is rolled back, and *I* then have > the choice of whether I want to rollback the remainder of the > transaction as well, or that I want to continue / try something else. Really? Considering that there was no backend support at all for such a thing back in 7.*, this seems improbable. regards, tom lane