Re: log_duration is redundant, no?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: log_duration is redundant, no?
Дата
Msg-id 28506.1157666811@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: log_duration is redundant, no?  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Ответы Re: log_duration is redundant, no?  (David Fetter <david@fetter.org>)
Re: log_duration is redundant, no?  (Josh Berkus <josh@agliodbs.com>)
Re: log_duration is redundant, no?  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Список pgsql-hackers
"Guillaume Smet" <guillaume.smet@gmail.com> writes:
> I mean:
> log_duration = on
> log_min_duration_statement = 500
> would log only duration for queries faster than 500 ms and duration +
> query text for queries slower than 500ms (we can easily avoid
> redundancy).

I don't find this very persuasive --- it sounds awfully messy, and in
fact isn't that exactly the old behavior we got rid of because no one
could understand it?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Guillaume Smet"
Дата:
Сообщение: Re: log_duration is redundant, no?
Следующее
От: David Fetter
Дата:
Сообщение: Re: log_duration is redundant, no?