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

From Alvaro Herrera
Subject Re: Nested Transactions, Abort All
Date
Msg-id 20040710015802.GB28878@dcc.uchile.cl
Whole thread Raw
In response to Re: Nested Transactions, Abort All  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: Nested Transactions, Abort All
Re: Nested Transactions, Abort All
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: bug in DROP TABLESPACE
Next
From: Alvaro Herrera
Date:
Subject: Re: Nested Transactions, Abort All