Re: Nested Transactions, Abort All

Поиск
Список
Период
Сортировка
От Dennis Bjorklund
Тема Re: Nested Transactions, Abort All
Дата
Msg-id Pine.LNX.4.44.0407102139250.2838-100000@zigo.dhs.org
обсуждение исходный текст
Ответ на Re: Nested Transactions, Abort All  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Ответы Re: Nested Transactions, Abort All
Список 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 по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Nested Transactions, Abort All
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Nested Transactions, Abort All