Re: New SET/autocommit problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: New SET/autocommit problem
Date: 2002-10-20 03:49:46
Message-ID: 9358.1035085786@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2002-10-20 04:40:02 Re: DBD::PG - any works to be compatile with 7.3 ?
Previous Message Bruce Momjian 2002-10-20 03:01:18 Re: [GENERAL] [PATCH] PL/Perl (Mis-)Behavior with Runtime Error Reporting