Rewriter hook - Mailing list pgsql-hackers

From Vlad Arkhipov
Subject Rewriter hook
Date
Msg-id 50DE4937.8060409@dc.baikal.ru
Whole thread Raw
Responses Re: Rewriter hook
Re: Rewriter hook
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: ILIKE vs indices
Next
From: Peter Geoghegan
Date:
Subject: Re: Rewriter hook