8.0b4: COMMIT outside of a transaction echoes ROLLBACK - Mailing list pgsql-hackers

From Ian Barwick
Subject 8.0b4: COMMIT outside of a transaction echoes ROLLBACK
Date
Msg-id 1d581afe04102612194fd0ae7c@mail.gmail.com
Whole thread Raw
Responses Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK
List pgsql-hackers
just wondering:

test=> select version();                                        version
------------------------------------------------------------------------------------------PostgreSQL 8.0.0beta4 on
i686-pc-linux-gnu,compiled by GCC gcc (GCC)
 
3.3.3 (SuSE Linux)
(1 row)

test=> begin;
BEGIN
test=> commit;
COMMIT
test=> commit;
WARNING:  there is no transaction in progress
ROLLBACK

Is there any reason ROLLBACK and not COMMIT is echoed here?

Ian Barwick
barwick@gmail.com


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: New compile warnings in CVS
Next
From: Bruce Momjian
Date:
Subject: Re: timestamp with time zone a la sql99