auto-explain does not work with JSON & csvlog

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема auto-explain does not work with JSON & csvlog
Дата
Msg-id 4C431261.2060609@agliodbs.com
обсуждение исходный текст
Ответы Re: auto-explain does not work with JSON & csvlog  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: auto-explain does not work with JSON & csvlog  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Version: 9.0 beta 3
Severity: Contrib feature broken
Platform: Ubuntu Netbook Remix, Dell 10 Mini laptop
Workaround Possible?  No.

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

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

--
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com

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

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