depesz wrote:
>> This makes automatic parsing of log files possible:
>> if a line starts with a tab, it is a continuation line.
>> The tab itself is not part of the message.
> why the tab isn't appended for other multi-line messages? like queries
> in LOG: duration: statement: lines?
I'm not sure what you mean...
I tried:
test=# SET log_min_duration_statement=0;
test=# SELECT 42,
test-# 'newline';
And got this in the log:
LOG: duration: 0.407 ms statement: SELECT 42,
'newline';
So there is a tab prepended.
Yours,
Laurenz Albe