Re: Vote on SET in aborted transaction - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Re: Vote on SET in aborted transaction
Date
Msg-id 3CC748A3.22170450@tpf.co.jp
Whole thread Raw
In response to Vote on SET in aborted transaction  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Vote on SET in aborted transaction  (Jan Wieck <janwieck@yahoo.com>)
Re: Vote on SET in aborted transaction  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> 
> Right offhand, I am not seeing anything here for which there's a
> compelling case not to roll it back on error.
> 
> In fact, I have yet to hear *any* plausible example of a variable
> that we would really seriously want not to roll back on error.

Honetsly I don't understand what kind of example you
expect. How about the following ?

[The curren schema is schema1]
begin;create schema foo;set search_path = foo;create table t1 (....);.  [error occurs]rollback;insert into t1 select *
fromschema1.t1;
 

Should the search_path be put back in this case ?
As I mentioned already many times, it doesn't seem
*should be* kind of thing.

regards, 
Hiroshi Inouehttp://w2422.nsk.ne.jp/~inoue/


pgsql-hackers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Vote on SET in aborted transaction
Next
From: Bruce Momjian
Date:
Subject: Vote totals for SET in aborted transaction