Re: Allow WHEN in INSTEAD OF triggers

From: David Fetter <david(at)fetter(dot)org>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Allow WHEN in INSTEAD OF triggers
Date: 2019-12-28 16:45:30
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sat, Dec 28, 2019 at 12:12:30AM -0300, Alvaro Herrera wrote:
> On 2019-Dec-28, David Fetter wrote:
> > While noodling around with an upcoming patch to remove user-modifiable
> > RULEs, I noticed that WHEN conditions were disallowed from INSTEAD OF
> > triggers for no discernible reason. This patch removes that
> > restriction.
> If you want to remove the restriction, your patch should add some test
> cases that show it working.

Tests added :)

David Fetter <david(at)fetter(dot)org>
Phone: +1 415 235 3778

Remember to vote!
Consider donating to Postgres:

Attachment Content-Type Size
v2-0001-Allow-WHEN-in-INSTEAD-OF-triggers.patch text/x-diff 10.5 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Vik Fearing 2019-12-28 16:58:52 Greatest Common Divisor
Previous Message David Fetter 2019-12-28 16:29:42 Re: Allow WHEN in INSTEAD OF triggers