Re: Named transaction

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pavel Golub <pavel(at)gf(dot)microolap(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Named transaction
Date: 2009-06-17 17:33:33
Message-ID: 4A3928ED.2010407@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Pavel Golub <pavel(at)microolap(dot)com> writes:
>
>> Is there any possibility that Postgres will have named transaction
>> ever, like Firebird?
>>
>
> What in heck is a named transaction, and why should we care?
>
>
>

Isn't this just another name for a subtransaction or inner transaction
that can be separately committed?

begin transaction bar;
...
begin transaction foo;
...
commit foo;
...
rollback bar;

foo's work is still committed.

People have been hacking this up using dblink calls, I believe, but
that's a horrid kludge.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-06-17 17:40:21 Re: Named transaction
Previous Message Robert Haas 2009-06-17 17:27:20 Re: GRANT ON ALL IN schema