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