Re: generic options for explain

From: ioguix <ioguix(at)free(dot)fr>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Robert Haas <robertmhaas(at)gmail(dot)com>, Dimitri Fontaine <dfontaine(at)hi-media(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Subject: Re: generic options for explain
Date: 2009-05-27 03:48:26
Message-ID: 4A1CB80A.7050806@free.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-05-27 03:49:14 Re: commitfest management webapp
Previous Message Robert Haas 2009-05-27 03:44:30 Re: [HACKERS] commitfest management webapp