Re: Viewing Parse Tree of a query from front end

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jonathan Gardner <jgardner(at)jonathangardner(dot)net>
Cc: PostgreSQL Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Viewing Parse Tree of a query from front end
Date: 2003-11-27 09:12:46
Message-ID: Pine.LNX.4.44.0311271012010.7604-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Karel Zak 2003-11-27 09:29:22 Re: timestamp convert function
Previous Message Nhan NGO DINH 2003-11-27 08:49:22 timestamp convert function