Re: Nested Transactions, Abort All

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>, Thomas Swan <tswan(at)idigx(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Nested Transactions, Abort All
Date: 2004-07-06 16:49:46
Message-ID: 20040706164946.GU21419@ns.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Alvaro Herrera (alvherre(at)dcc(dot)uchile(dot)cl) wrote:
> We could use BEGIN NESTED for starting a subtransaction, roll it back
> with ROLLBACK NESTED or some such, and commit with COMMIT NESTED. But I
> like SUBBEGIN etc best, and no one had an opinion when I asked. So the
> current code has SUBBEGIN, SUBCOMMIT, SUBABORT. If people prefer

Just to be pedantic and talking about consistency-
Why SUBABORT instead of SUBROLLBACK?

Stephen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2004-07-06 17:02:12 Re: Nested Transactions, Abort All
Previous Message Alvaro Herrera 2004-07-06 16:25:30 Re: Nested Transactions, Abort All