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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK
Дата
Msg-id 26773.1098926961@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Ответы Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK
Следующее
От: Kevin Brown
Дата:
Сообщение: Re: [PATCHES] ARC Memory Usage analysis