Re: is there a hook by which we can modify input query before postgresql builds raw parse tree - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: is there a hook by which we can modify input query before postgresql builds raw parse tree
Date
Msg-id CAB7nPqQtgzr=-hetb+UiqB4LT5gvXs3Uzx=xbLEDMfps00-UBg@mail.gmail.com
Whole thread Raw
In response to Re: is there a hook by which we can modify input query before postgresql builds raw parse tree  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On Fri, May 2, 2014 at 2:06 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> Not that I know of. I am not sure that enforcing query rewrite on the
> server side is a good idea at this may trap your applications and have
> them face unexpected behaviors.
Note as well that there is a hook *before* the rewriter and *after*
parse/analyze of query called post_parse_analyze_hook in
parser/analyze.h.
-- 
Michael



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: is there a hook by which we can modify input query before postgresql builds raw parse tree
Next
From: Rajeev rastogi
Date:
Subject: Re: Allowing empty target list in SELECT (1b4f7f93b4693858cb983af3cd557f6097dab67b)