X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D629C4758C9 for ; Tue, 18 Feb 2003 15:16:49 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 7364E475843 for ; Tue, 18 Feb 2003 15:16:48 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h1IKGQK23514; Tue, 18 Feb 2003 15:16:26 -0500 (EST) From: Bruce Momjian Message-Id: <200302182016.h1IKGQK23514@candle.pha.pa.us> Subject: Re: autocommit In-Reply-To: To: Laurette Cisneros Date: Tue, 18 Feb 2003 15:16:26 -0500 (EST) Cc: Robert Treat , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/298 X-Sequence-Number: 7496 log_min_error_messages controls whether the query is printed along with the message. server_min_messages controls just the message. --------------------------------------------------------------------------- Laurette Cisneros wrote: > In my postgresql.conf I see > > ... > #server_min_messages = notice > #client_min_messages = notice > > log_min_error_statement = error > ... > > If I set server_min_messages = error this will go away? What does > log_min_error_messages give me that server_min_messages doesn't and vice versa? > > Thanks, > > L. > On Tue, 18 Feb 2003, Bruce Momjian wrote: > > > > > The message level is right next to the message, so in this case it is > > WARNING. Setting server_min_messages to error would prevent that > > message. > > > > > > --------------------------------------------------------------------------- > > > > Laurette Cisneros wrote: > > > What "log level" would generate this message and what do I set it to to get > > > rid of it? > > > > > > Thanks, > > > > > > L. > > > On 14 Feb 2003, Robert Treat wrote: > > > > > > > On Thu, 2003-02-13 at 18:48, Laurette Cisneros wrote: > > > > > > > > > > Using 7.3.2 now. > > > > > > > > > > I noticed a slew of messages in my pgsql log like this: > > > > > WARNING: COMMIT: no transaction in progress > > > > > > > > > > I'm wodering if this is related to the fact that there is now an option in > > > > > the postgresql.conf file: > > > > > autocommit=true > > > > > > > > > > Did 7.3.2 change the default behavior of the pgsql server in regards to > > > > > soloton transactions? > > > > > > > > > > > > > > > > > > Pre 7.3.* version issued "NOTICE: COMMIT: no transaction in progress" > > > > instead of "WARNING". The different log level is probably why you didn't > > > > see it before. > > > > > > > > Robert Treat > > > > > > > > > > > > > > -- > > > Laurette Cisneros, L.D. > > > The Database Group > > > (510) 420-3137 > > > NextBus Information Systems, Inc. > > > www.nextbus.com > > > ---------------------------------- > > > "No man is wise enough by himself" > > > -- Titus Maccius Plautus > > > (254 Bc - 184 BC), Miles Gloriosus > > > > > > > > > ---------------------------(end of broadcast)--------------------------- > > > TIP 4: Don't 'kill -9' the postmaster > > > > > > > > > -- > Laurette Cisneros, L.D. > The Database Group > (510) 420-3137 > NextBus Information Systems, Inc. > www.nextbus.com > ---------------------------------- > "No man is wise enough by himself" > -- Titus Maccius Plautus > (254 Bc - 184 BC), Miles Gloriosus > > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073