Re: Autonomous subtransactions - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Autonomous subtransactions
Date
Msg-id 1324324883-sup-6073@alvh.no-ip.org
Whole thread Raw
In response to Re: Autonomous subtransactions  (Marti Raudsepp <marti@juffo.org>)
List pgsql-hackers
Excerpts from Marti Raudsepp's message of lun dic 19 16:50:22 -0300 2011:
>
> On Mon, Dec 19, 2011 at 21:43, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
> >> (I do realize that allowing subtransactions to commit out of order
> >> also makes it failure prone)
> >
> > Uhm?  You can't "commit" savepoints out of order.  You can "release" an
> > older one, but then all the ones following it disappear and can't be
> > released separately.
>
> We're confused about the terminology already :)

Yeah.  The code talks about savepoints as "subtransactions" (because
that's the name they had at first), so if you guys are going to talk
about autonomous transactions as "subtransactions" too, then the code is
going to end up pretty schizo.

> I was talking about "autonomous subtransactions" as in COMMIT
> SUBTRANSACTION from the proposal. Earlier I commented that it would be
> nice if the syntax didn't require autonomous transactions to be
> strictly nested.

Oh ... Probably.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: Page Checksums
Next
From: Heikki Linnakangas
Date:
Subject: Re: Page Checksums