Re: is there a hook by which we can modify input query before postgresql builds raw parse tree

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Rajmohan C <csrajmohan(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: is there a hook by which we can modify input query before postgresql builds raw parse tree
Date: 2014-05-02 05:16:23
Message-ID: CAB7nPqQtgzr=-hetb+UiqB4LT5gvXs3Uzx=xbLEDMfps00-UBg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 2, 2014 at 2:06 PM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

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