Re: New SET/autocommit problem - Mailing list pgsql-hackers

From Tom Lane
Subject Re: New SET/autocommit problem
Date
Msg-id 9358.1035085786@sss.pgh.pa.us
Whole thread Raw
In response to New SET/autocommit problem  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: New SET/autocommit problem  (Sean Chittenden <sean@chittenden.org>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>     WARNING:  COMMIT: no transaction in progress
>     COMMIT

> The WARNING happens with SHOW and RESET too.  I wonder if we should
> suppress the WARNING of a COMMIT with no statements when autocommit is
> off.

I don't think so; that will make it quite hard to check whether a
transaction is open.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] [PATCH] PL/Perl (Mis-)Behavior with Runtime Error Reporting
Next
From: Oleg Bartunov
Date:
Subject: Re: DBD::PG - any works to be compatile with 7.3 ?