Re: machine-readable explain output

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Bernd Helmle <mailings(at)oopsware(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net>, Josh Berkus <josh(at)agliodbs(dot)com>
Subject: Re: machine-readable explain output
Date: 2009-06-14 11:12:39
Message-ID: 162867790906140412y5b398234r891729902d09d4f8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2009/6/14 Dave Page <dpage(at)pgadmin(dot)org>:
> On 6/13/09, Bernd Helmle <mailings(at)oopsware(dot)de> wrote:
>>
>>
>> --On 13. Juni 2009 15:01:43 -0400 Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>>
>>>> Also, the result type of an EXPLAIN (format xml) should be type xml, not
>>>> text.
>>>
>>> Seems reasonable.  I'll see if I can figure out how to do that.
>>
>> I suppose it's okay then, that the format is not available when the server
>> isn't build with --with-libxml ?
>
> I hope not, otherwise the usefulness of the format is significantly
> reduced (to practically zero) if tools cannot rely on it being
> available and have to fall back to something else if it's not
> available.
>

I thing so using --with-libxml is good idea. Is nonsense repeat some
necessary xml code like xml escaping and similar. And almost all
distributed PostgreSQL binaries are compiled with xml support, so this
cannot do some problems. When somebody compile pg without xml support,
then he knows what he do.

regards
Pavel Stehule

> --
> Dave Page
> EnterpriseDB UK:   http://www.enterprisedb.com
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2009-06-14 12:08:52 Re: machine-readable explain output
Previous Message Dave Page 2009-06-14 08:46:03 Re: machine-readable explain output