pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Laurette Cisneros <laurette@nextbus.com>
Cc: Robert Treat <xzilla@users.sourceforge.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: autocommit
Date: Tue, 18 Feb 2003 15:16:26 -0500 (EST)
Message-ID: <200302182016.h1IKGQK23514@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0302181208110.21401-100000@visor.corp.nextbus.com>


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



view thread (7+ messages)  latest in thread

Message-ID: <200302182016.h1IKGQK23514@candle.pha.pa.us>
Permalink:  ../200302182016.h1IKGQK23514@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200302182016.h1IKGQK23514@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: pgman@candle.pha.pa.us, laurette@nextbus.com, xzilla@users.sourceforge.net
  Subject: Re: autocommit
  In-Reply-To: <200302182016.h1IKGQK23514@candle.pha.pa.us>
  References: <Pine.LNX.4.44.0302181208110.21401-100000@visor.corp.nextbus.com> <200302182016.h1IKGQK23514@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox