Re: Allow WHEN in INSTEAD OF triggers - Mailing list pgsql-hackers

From David Fetter
Subject Re: Allow WHEN in INSTEAD OF triggers
Date
Msg-id 20191228164529.GN32763@fetter.org
Whole thread Raw
In response to Re: Allow WHEN in INSTEAD OF triggers  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: Allow WHEN in INSTEAD OF triggers  (Dean Rasheed <dean.a.rasheed@gmail.com>)
List 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 :)

Best,
David.
-- 
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Attachment

pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Allow WHEN in INSTEAD OF triggers
Next
From: Vik Fearing
Date:
Subject: Greatest Common Divisor