Re: Nested Transactions, Abort All

From: "Jeroen T(dot) Vermeulen" <jtv(at)xs4all(dot)nl>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Thomas Swan <tswan(at)idigx(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Nested Transactions, Abort All
Date: 2004-07-02 21:51:01
Message-ID: 20040702215101.GH50626@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jul 02, 2004 at 05:30:49PM -0400, Alvaro Herrera wrote:

> You can't have subtransactions inside an implicit transaction block, so

Haven't been following this thread closely, but just my 2 cents...

If you collate queries using the semicolon, AFAIK the whole thing is
executed as a single implicit transaction (if not in an explicit one
already, of course). So is there anyone stopping a user from executing

BEGIN ; UPDATE ... ; COMMIT

?

Jeroen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2004-07-02 21:51:38 Re: [Re] Re: PREPARE and transactions
Previous Message Alvaro Herrera 2004-07-02 21:30:49 Re: Nested Transactions, Abort All