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