From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bart Samwel <bart@samwel.tk>
Cc: Ludek Finstrle <luf@pzkagis.cz>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Future development
Date: Wed, 22 Mar 2006 09:54:19 -0500
Message-ID: <16380.1143039259@sss.pgh.pa.us> (raw)
In-Reply-To: <44214551.5060202@samwel.tk>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C9594@ratbert.vale-housing.co.uk>
<441AB081.9090901@samwel.tk>
<20060322112325.GD6294@soptik.pzkagis.cz>
<44214551.5060202@samwel.tk>
Bart Samwel <bart@samwel.tk> 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
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: tgl@sss.pgh.pa.us, bart@samwel.tk, luf@pzkagis.cz
Subject: Re: Future development
In-Reply-To: <16380.1143039259@sss.pgh.pa.us>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C9594@ratbert.vale-housing.co.uk> <441AB081.9090901@samwel.tk> <20060322112325.GD6294@soptik.pzkagis.cz> <44214551.5060202@samwel.tk> <16380.1143039259@sss.pgh.pa.us>
* 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