Re: fix log_min_duration_statement logic error

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: fix log_min_duration_statement logic error
Дата
Msg-id 200309291851.h8TIptV03150@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: fix log_min_duration_statement logic error  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: fix log_min_duration_statement logic error
Список pgsql-patches
Tom Lane wrote:
> 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.

Done.

--
  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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: fix log_min_duration_statement logic error
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] bug in clusterdb script