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

From Ian Barwick
Subject Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK  (Tom Lane <[email protected]>)
List pgsql-hackers
On Sat, 30 Oct 2004 16:45:22 -0400, Tom Lane <[email protected]> wrote:
> Alvaro Herrera <[email protected]> writes:
> > On Wed, Oct 27, 2004 at 09:29:21PM -0400, Tom Lane wrote:
> >> Wouldn't it be better to just stay in TBLOCK_STARTED state, as if the
> >> COMMIT were just some random utility command?
> 
> > It's the same thing, because CommitTransactionCommand acts identically
> > either way.  I changed it anyway because it seems simpler.
> 
> Patch applied.

Many thanks for this. I appreciate it's a fairly trivial issue, but
seeing the word "ROLLBACK" when a commit, or at least a non-operation
were expected, can do nasty things to one's blood pressure.

Ian Barwick
[email protected]


pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: -HEAD regression failure on OpenBSD 3.6-current/x86
Next
From: Tatsuo Ishii
Date:
Subject: Re: Charset/collate support and function parameters