Re: Possible bug in 7.4.5

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Possible bug in 7.4.5
Дата
Msg-id 25521.1097071907@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Possible bug in 7.4.5  (Devrim GUNDUZ <devrim@gunduz.org>)
Ответы Re: Possible bug in 7.4.5  (Devrim GUNDUZ <devrim@gunduz.org>)
Список pgsql-bugs
Devrim GUNDUZ <devrim@gunduz.org> writes:
> Am I missing something, or is it a bug? I can't reproduce it in 8.0beta2.

8.0 actually behaves the same way: the COMMIT gets you out of the
transaction block.  It just tells you that it's treating it as a
rollback:

regression=# comm;
ERROR:  syntax error at or near "comm" at character 1
LINE 1: comm;
        ^
regression=# commit;
ROLLBACK
regression=#

whereas prior versions did the rollback but still reported the command
tag as COMMIT.  AFAIR, Postgres has always acted that way.

            regards, tom lane

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Possible bug in 7.4.5
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #1280: Unexpected EOF at Client Connection