Re: [BUGS] BUG #3799: csvlog skips some logs

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [BUGS] BUG #3799: csvlog skips some logs
Дата
Msg-id 47583AAB.6060102@dunslane.net
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #3799: csvlog skips some logs  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [BUGS] BUG #3799: csvlog skips some logs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: pg_dump and BINARY mode COPY
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #3799: csvlog skips some logs