Re: Viewing Parse Tree of a query from front end - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Viewing Parse Tree of a query from front end
Date
Msg-id Pine.LNX.4.44.0311271012010.7604-100000@peter.localdomain
Whole thread Raw
In response to Viewing Parse Tree of a query from front end  (Jonathan Gardner <jgardner@jonathangardner.net>)
Responses Re: Viewing Parse Tree of a query from front end
List pgsql-hackers
Jonathan Gardner writes:

> I know this sounds kind of silly, but I think I would like to be able to
> send a query to PostgreSQL, and have it parse it into a tree, and then pass
> the tree back to me somehow. Of course, I don't want the query to actually
> execute.

There is a configuration parameter that make each statement print out the
parse tree.  I think it's show_parse_tree or something like that.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Nhan NGO DINH
Date:
Subject: timestamp convert function
Next
From: Karel Zak
Date:
Subject: Re: timestamp convert function