Re: Rewriter hook

From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: Vlad Arkhipov <arhipov(at)dc(dot)baikal(dot)ru>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Rewriter hook
Date: 2012-12-29 02:05:42
Message-ID: CAJKUy5jYCPWwmyFmXNpStE-7-DDGMGrxHLND0caZPMGD=GZU3A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Dec 28, 2012 at 8:36 PM, Vlad Arkhipov <arhipov(at)dc(dot)baikal(dot)ru> 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 second one you can do it with a trigger, and i'm pretty sure you
can use triggers to solve most of the problems... what are you trying
to do?

--
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
Phone: +593 4 5107566 Cell: +593 987171157

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vlad Arkhipov 2012-12-29 03:18:05 Re: Rewriter hook
Previous Message Peter Geoghegan 2012-12-29 02:00:42 Re: Rewriter hook