Re: generic options for explain - Mailing list pgsql-hackers

From ioguix
Subject Re: generic options for explain
Date
Msg-id 4A1CB80A.7050806@free.fr
Whole thread Raw
In response to Re: generic options for explain  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander a écrit :
> Dave Page wrote:
>   
>> I was thinking something similar, but from the pgAdmin perspective. We
>> already use libxml2, but JSON would introduce another dependency for
>> us.
>>     
>
> Yeah, but probably not a huge one. There is one for wx, but I don't
> think it's included by default.
>
>   
+1 for the machine readable explain.

FWIW, I have an early patch for phpPgAdmin about a graphical explain. 
IIRC when I wrote it, I told myself the parser might actually be broken 
with multi-level sub-queries or something. But I ended with the same 
parsing code than pgAdmin anyway.

About the format, JSON would be the best here, as it is a one function 
call in PHP to retrieve an associative array from the JSON code.

-- 
Guillaume (ioguix) de Rorthais


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [pgsql-www] commitfest management webapp
Next
From: Stefan Kaltenbrunner
Date:
Subject: Re: [pgsql-www] commitfest management webapp