Re: Nested Transactions, Abort All - Mailing list pgsql-hackers

From Dennis Bjorklund
Subject Re: Nested Transactions, Abort All
Date
Msg-id Pine.LNX.4.44.0407102139250.2838-100000@zigo.dhs.org
Whole thread Raw
In response to Re: Nested Transactions, Abort All  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Responses Re: Nested Transactions, Abort All
List pgsql-hackers
On Sat, 10 Jul 2004, Alvaro Herrera wrote:

> That's why it's absurd.  Why allow an operation which isn't really an
> operation?

Same reason why you allow an addition with 0. One can say that it's 
not really an operation either.

One can have many different semantics, here are 3 versions:
1) You release savepoints in any order2) You release savepoints in reverse order3) You release any savepoints and later
onesthen the   one you released are automatically released.
 

I don't see any of these as absurd. The ansi spec uses number 3.

It might seem absurd to you, given the implementation you have made.

-- 
/Dennis Björklund



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Nested Transactions, Abort All
Next
From: Alvaro Herrera
Date:
Subject: Re: Nested Transactions, Abort All