Re: fix log_min_duration_statement logic error

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: fix log_min_duration_statement logic error
Дата
Msg-id Pine.LNX.4.44.0310040243420.8489-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: fix log_min_duration_statement logic error  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: fix log_min_duration_statement logic error  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: backend es.po
Следующее
От: Alvaro Herrera
Дата:
Сообщение: more spanish updates