Re: auto-explain does not work with JSON & csvlog

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: auto-explain does not work with JSON & csvlog
Дата
Msg-id 28686.1279468943@sss.pgh.pa.us
обсуждение исходный текст
Ответ на auto-explain does not work with JSON & csvlog  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-bugs
Josh Berkus <josh@agliodbs.com> writes:
> With 9.0, the obvious thing to do with autoexplain is to log JSON or XML
> explain plans to a csvlog and then automatically process them.

> However, when I attempt to do this, I get the following warning at
> PostgreSQL startup time:

> Loaded module "auto_explain"
> Not safe to send CSV data

I wouldn't be too surprised if that happened on a one-time basis during
postmaster startup ...

> And on checking, auto-explain is indeed NOT sending anything to the
> csvlog.  It's not sending anything to the regular log, either.

... but this part sounds like it's probably a configuration mistake
on your part.

            regards, tom lane

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: auto-explain does not work with JSON & csvlog
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5564: Odd behavior with aggregate_func(DISTINCT foo ORDER BY foo)