Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK
Date
Msg-id 26773.1098926961@sss.pgh.pa.us
Whole thread Raw
In response to Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Responses Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK
List pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> On Wed, Oct 27, 2004 at 04:21:53PM -0400, Tom Lane wrote:
>> On the other hand, it's also a pretty minor issue, and if it turns out
>> to require a lot of code rejiggering to make it do that, I'd not think
>> it worthwhile.

> Patch attached.  It passes the regression tests.  It shouldn't have
> secondary effects, but please test.

Wouldn't it be better to just stay in TBLOCK_STARTED state, as if the
COMMIT were just some random utility command?

In any case, the comment right above this needs adjustment ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK
Next
From: Kevin Brown
Date:
Subject: Re: [PATCHES] ARC Memory Usage analysis