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(at)gmx(dot)net