Re: Possible bug in 7.4.5

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Devrim GUNDUZ <devrim(at)gunduz(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Possible bug in 7.4.5
Date: 2004-10-06 14:11:47
Message-ID: 25521.1097071907@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Devrim GUNDUZ <devrim(at)gunduz(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-10-06 14:18:26 Re: BUG #1280: Unexpected EOF at Client Connection
Previous Message Luiz K. Matsumura 2004-10-06 12:51:20 Re: pg_dumpall bug in PG 8.0b3 Win32 port