Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Well, I thought I did it, and it did work on my limited number of test
> cases. Seems you got it fully working.
Actually, it failed for me (and evidently for Barry) on exactly the test
case you posted along with the patch. You said
> test=> set autocommit = off;
> SET
> test=> commit;
> WARNING: COMMIT: no transaction in progress
> COMMIT
but in fact I saw the COMMIT succeeding without complaint. I was
meaning to ask you just what code you'd tested, because this morning's
CVS tip did *not* behave as above.
regards, tom lane