Thread: Re: Printing parse tree

Re: Printing parse tree

From
Thomas Lockhart
Date:
> How can we create the entire parse tree first,
> then traverse it?
> > > We've downloaded postgresql (latest version). We would like
> > > to print the parse tree. Any help or guidance will be appreciated.
> > Use EXPLAIN VERBOSE on a query, or run the postmaster from a terminal
> > window using a large debugging level ("-d 99").
> > If you need more than that, you have to dive into the backend and
> > insert some print statements (though there are some utilities to help
> > print these trees).

Hi Dan. All of these questions are best asked on the hackers mailing
list. Unfortunately I'm leaving town for a few days and don't have
time to think about an additional answer for you.

Good luck.
                   - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


Re: [HACKERS] Re: Printing parse tree

From
Bruce Momjian
Date:
See developers FAQ in web site or in doc directory.

> > How can we create the entire parse tree first,
> > then traverse it?
> > > > We've downloaded postgresql (latest version). We would like
> > > > to print the parse tree. Any help or guidance will be appreciated.
> > > Use EXPLAIN VERBOSE on a query, or run the postmaster from a terminal
> > > window using a large debugging level ("-d 99").
> > > If you need more than that, you have to dive into the backend and
> > > insert some print statements (though there are some utilities to help
> > > print these trees).
> 
> Hi Dan. All of these questions are best asked on the hackers mailing
> list. Unfortunately I'm leaving town for a few days and don't have
> time to think about an additional answer for you.
> 
> Good luck.
> 
>                     - Thomas
> 
> -- 
> Thomas Lockhart                lockhart@alumni.caltech.edu
> South Pasadena, California
> 
> 


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026