From: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
---|---|
To: | Oliver Jowett <oliver(at)opencloud(dot)com> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>, Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>, Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>, Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Nested Transactions, Abort All |
Date: | 2004-07-10 01:58:02 |
Message-ID: | 20040710015802.GB28878@dcc.uchile.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-07-10 01:58:45 | Re: bug in DROP TABLESPACE |
Previous Message | Alvaro Herrera | 2004-07-10 01:57:07 | Re: Nested Transactions, Abort All |