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

From Peter Eisentraut
Subject Re: fix log_min_duration_statement logic error
Date
Msg-id Pine.LNX.4.44.0310040243420.8489-100000@peter.localdomain
Whole thread Raw
In response to Re: fix log_min_duration_statement logic error  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: fix log_min_duration_statement logic error
List pgsql-patches
Bruce Momjian writes:

> > I think there should be just one "duration: nnn" log entry, printed if
> > either condition holds.
>
> Done.

Now, if I have log_statement and log_duration on, it logs each statement
twice.  The documentation says this:

log_duration (boolean)

  Causes the duration of every completed statement to be logged. To use
  this option, enable log_statement and log_pid so you can link the
  statement to the duration using the process ID.

This needs more thought.

Also, please put units on all numbers.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: backend es.po
Next
From: Alvaro Herrera
Date:
Subject: more spanish updates