| From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
|---|---|
| To: | Josh Berkus <josh(at)agliodbs(dot)com> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: machine-readable explain output |
| Date: | 2009-06-12 17:45:59 |
| Message-ID: | 603c8f070906121045t32c10021l7421396f294f516b@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, Jun 12, 2009 at 11:47 AM, Josh Berkus<josh(at)agliodbs(dot)com> wrote:
> On 6/11/09 10:15 PM, Robert Haas wrote:
>>
>> Here we go, XML and JSON output.
>>
>> You will need to apply explain_refactor-v4.patch and
>> explain_options-v2.patch first, then apply the two patches attached to
>> this message.
>
> Wow, cool. Can this work with auto_explain? That's where I see
> machine-readable being most useful.
The patch does touch contrib/auto_explain, but just enough to make it
keep working the same way it does now. I don't think it would be too
hard to improve on that, though; I might work on it if I get bored,
but I'm hoping someone else will be motivated enough to do that part.
:-)
How would you go about extracting the XML/JSON bits from the rest of
what is in the log file? (apologies if this is a question I should
already know the answer to)
...Robert
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Josh Berkus | 2009-06-12 17:49:22 | Re: machine-readable explain output |
| Previous Message | Tom Lane | 2009-06-12 15:54:12 | Re: Problem with listen_addresses = '*' on 8.4beta2 on AIX |