On 12/29/2012 11:05 AM, Jaime Casanova wrote:
On Fri, Dec 28, 2012 at 8:36 PM, Vlad Arkhipov wrote:
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 INSE
On Fri, Dec 28, 2012 at 8:36 PM, Vlad Arkhipov wrote:
>
> 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.
>
the seco
On 29 December 2012 01:36, Vlad Arkhipov wrote:
> Are there any plans on adding a rewriter hook?
I doubt it will ever happen.
If you look at QueryRewrite(Query *parsetree), the primary entry point
to the rewriter, it's easy enough to get a high level overview of what
goes on.
You can get the po
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,
instea