Rewriter hook

Поиск
Список
Период
Сортировка
От Vlad Arkhipov
Тема Rewriter hook
Дата
Msg-id 50DE4937.8060409@dc.baikal.ru
обсуждение исходный текст
Ответы Re: Rewriter hook  (Peter Geoghegan <peter@2ndquadrant.com>)
Re: Rewriter hook  (Jaime Casanova <jaime@2ndquadrant.com>)
Список pgsql-hackers
Hi all,

Are there any plans on adding a rewriter hook? There are already exist 
parser, planner, executor hooks but there is no way to control rewriter 
from plugins.

Some use cases:
1. Complex rules in C language.
2. Transforming an original query into a series of queries. For example, 
instead of UPDATE query on a table you may wish to execute UPDATE and 
INSERT into *the same* table.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ILIKE vs indices
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Rewriter hook