Re: Named transaction - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Named transaction
Date
Msg-id 20090617191103.GN6750@alvh.no-ip.org
Whole thread Raw
In response to Re: Named transaction  (Greg Stark <stark@enterprisedb.com>)
List pgsql-hackers
Greg Stark wrote:
> On Wed, Jun 17, 2009 at 6:40 PM, Alvaro
> Herrera<alvherre@commandprompt.com> wrote:

> > AFAIK that's an "autonomous transaction", at least to some other RDBMSs.
> 
> I have no idea what they are in Firebird but  the name conjured up a
> different (interesting) idea for me. I had the image of naming a
> transaction and then being able to have other sessions join that same
> transaction. We've discussed this before for connection-pooled systems
> which want to be able to return their connection to the pool in the
> middle of their transaction.

Sounds a bit like a prepared transaction, except that you don't put it
aside for later commit but rather "suspend" it.

> It would also possibly be useful for parallel data dumps and loads.

I think the clone snapshot stuff would be more easily usable for that.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Named transaction
Next
From: "Kevin Grittner"
Date:
Subject: Re: Named transaction