Skip site navigation (1) Skip section navigation (2)

Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, olly(at)lfix(dot)co(dot)uk,Ian Barwick <barwick(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK
Date: 2004-10-30 20:45:22
Message-ID: 21303.1099169122@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> 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.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Dennis BjorklundDate: 2004-10-30 20:51:01
Subject: Re: Charset/collate support and function parameters
Previous:From: David FetterDate: 2004-10-30 19:54:40
Subject: array_to_column function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group