Re: autocommit

From: Laurette Cisneros <laurette(at)nextbus(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: autocommit
Date: 2003-02-18 20:25:42
Message-ID: Pine.LNX.4.44.0302181225350.21401-100000@visor.corp.nextbus.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Ah. Thanks!

On Tue, 18 Feb 2003, Bruce Momjian wrote:

>
> 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
> >
> >
>
>

--
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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Roberto M. 2003-02-18 21:30:21 Re: failure delivery
Previous Message Bruce Momjian 2003-02-18 20:16:26 Re: autocommit