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

Поиск
Список
Период
Сортировка
От Ian Barwick
Тема Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK
Дата
Msg-id 1d581afe0410310120430636a7@mail.gmail.com
обсуждение исходный текст
Ответ на Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, 30 Oct 2004 16:45:22 -0400, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Alvaro Herrera <alvherre@dcc.uchile.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.

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
barwick@gmail.net


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Stefan Kaltenbrunner
Дата:
Сообщение: -HEAD regression failure on OpenBSD 3.6-current/x86
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Charset/collate support and function parameters