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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: is there a hook by which we can modify input query before postgresql builds raw parse tree
Дата
Msg-id CAB7nPqQtgzr=-hetb+UiqB4LT5gvXs3Uzx=xbLEDMfps00-UBg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: is there a hook by which we can modify input query before postgresql builds raw parse tree  (Michael Paquier <michael.paquier@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: is there a hook by which we can modify input query before postgresql builds raw parse tree
Следующее
От: Rajeev rastogi
Дата:
Сообщение: Re: Allowing empty target list in SELECT (1b4f7f93b4693858cb983af3cd557f6097dab67b)