Re: fix log_min_duration_statement logic error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: fix log_min_duration_statement logic error
Дата
Msg-id 21233.1065296614@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 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>)
Re: fix log_min_duration_statement logic error  (ohp@pyrenet.fr)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> I would prefer to see the log entries look like
>>
>> LOG: query: select * from pg_class;
>> LOG: duration: nn.nnn msec

> The problem with two lines is that another log message could get between
> them.

That was true already with log_statement and log_duration as separate
operations.  People use log_pid to deal with it.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: fix log_min_duration_statement logic error
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: more spanish updates