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

Re: parse tree to XML format

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, matt <nuc233(at)yahoo(dot)com>
Subject: Re: parse tree to XML format
Date: 2009-12-29 00:39:33
Message-ID: 200912290139.33598.andres@anarazel.de (view raw or flat)
Thread:
Lists: pgsql-hackers
On Tuesday 29 December 2009 01:35:25 Robert Haas wrote:
> On Mon, Dec 28, 2009 at 7:32 PM, Andres Freund <andres(at)anarazel(dot)de> wrote:
> > On Monday 28 December 2009 22:30:44 matt wrote:
> >> Is there some way to export the postgresql query parse tree in XML
> >> format? I can not locate the API/Tool etc to do that...
> >
> > Thats more of a -general question.
> >
> > There is no such possibility in 8.4 - the not yet released 8.5 contains
> > such a possibility.
> 
> Well, you can export the plan as XML using EXPLAIN (FORMAT XML), but
> that's not the same thing as the query parse-tree.
Uh. Err. Sorry.

You can play around with "debug_print_parse" but thats many things but 
definitely not xml.

Matt, what are you trying to achieve?

Andres

In response to

Responses

pgsql-hackers by date

Next:From: Kevin GrittnerDate: 2009-12-29 00:42:50
Subject: Re: Serializable implementation
Previous:From: Kevin GrittnerDate: 2009-12-29 00:35:47
Subject: Re: Admission Control Policy

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