Re: [BUGS] BUG #3799: csvlog skips some logs - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [BUGS] BUG #3799: csvlog skips some logs
Date
Msg-id 47583AAB.6060102@dunslane.net
Whole thread Raw
In response to Re: [BUGS] BUG #3799: csvlog skips some logs  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [BUGS] BUG #3799: csvlog skips some logs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

Tom Lane wrote:
> "depesz" <depesz@depesz.com> writes:
>   
>> Description:        csvlog skips some logs
>>     
>
> The point here is that CSV-format log output doesn't include the
> DETAIL, HINT, or context (QUERY/STATEMENT/CONTEXT) lines that
> you might get with normal output.
>
> I suppose this was intentional in order to keep the CSV output
> format manageable, but I have to wonder whether it's really a
> good idea.  I can see the argument that you probably don't need
> to log HINTs, but the other stuff might be important.  Particularly
> the STATEMENT.
>
> Comments?
>
>
>   

I don't recall making such a conscious intention - not sure about others 
whose fingers have been in the pie. More likely it's just oversight. In 
general, I'd say that the log content should be independent of the 
format. I can't see any very good reason for text logs to have different 
content from CSV logs.

cheers

andrew


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: pg_dump and BINARY mode COPY
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #3799: csvlog skips some logs