Re: Nested Transactions, Abort All

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Nested Transactions, Abort All
Дата
Msg-id 20040710015802.GB28878@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: Nested Transactions, Abort All  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: Nested Transactions, Abort All
Re: Nested Transactions, Abort All
Список pgsql-hackers
On Sat, Jul 10, 2004 at 09:46:56AM +1200, Oliver Jowett wrote:
> Alvaro Herrera wrote:
> 
> >We can't actually release anything (commit the subtransactions), because
> >they may be savepoints established after that point, and they are
> >logically "inside" the previously established ones.  At RELEASE we can't
> >really release -- we just lose the name and thus the opportunity to
> >rollback to it.
> 
> The 2003 draft claims that RELEASE SAVEPOINT invalidates savepoints 
> subsequent to the RELEASE:

In our case, invalidating a savepoint does not mean we can release its
resources.  We can only do that if it's the latest defined savepoint.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Cuando miro a alguien, más me atrae cómo cambia que quién es" (J. Binoche)



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: bug in DROP TABLESPACE
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Nested Transactions, Abort All