Skip site navigation (1) Skip section navigation (2)

auto-explain does not work with JSON & csvlog

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: auto-explain does not work with JSON & csvlog
Date: 2010-07-18 14:40:33
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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.


pgsql-bugs by date

Next:From: Tom LaneDate: 2010-07-18 16:02:23
Subject: Re: auto-explain does not work with JSON & csvlog
Previous:From: Daniel GraceDate: 2010-07-17 00:07:53
Subject: BUG #5564: Odd behavior with aggregate_func(DISTINCT foo ORDER BY foo)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group