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

From David Fetter
Subject Allow WHEN in INSTEAD OF triggers
Date
Msg-id 20191228030113.GL32763@fetter.org
Whole thread Raw
Responses Re: Allow WHEN in INSTEAD OF triggers  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: Allow WHEN in INSTEAD OF triggers  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Folks,

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.

I noticed that columns were also disallowed in INSTEAD OF triggers,
but haven't dug further into those just yet.

What say?

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: Robert Haas
Date:
Subject: Re: Server crash with Master-Slave configuration.
Next
From: Alvaro Herrera
Date:
Subject: Re: Allow WHEN in INSTEAD OF triggers