Re: fix log_min_duration_statement logic error - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: fix log_min_duration_statement logic error
Date
Msg-id 200309271430.h8REUjq21893@candle.pha.pa.us
Whole thread Raw
In response to Re: fix log_min_duration_statement logic error  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
Yes, I will.

---------------------------------------------------------------------------

Peter Eisentraut wrote:
> Tom Lane writes:
>
> > Neil Conway <neilc@samurai.com> writes:
> > > I also don't particularly like the format of the log message (for one
> > > thing, the "duration_statement" prefix in the log message shouldn't
> > > include an underscore, it's not a variable or anything -- and the case
> > > can be made that if we printed the duration because log_duration is set,
> > > we don't need to print it again if the duration of the query exceeded
> > > log_min_duration_statement), but I haven't changed it.
> >
> > I think there should be just one "duration: nnn" log entry, printed if
> > either condition holds.
>
> Is anyone going to take care of this?
>
> --
> Peter Eisentraut   peter_e@gmx.net
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

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

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: fix log_min_duration_statement logic error
Next
From: Bruce Momjian
Date:
Subject: Re: 7.3.4 release note format