Allow WHEN in INSTEAD OF triggers

From: David Fetter <david(at)fetter(dot)org>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Allow WHEN in INSTEAD OF triggers
Date: 2019-12-28 03:01:14
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


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

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

What say?

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

Remember to vote!
Consider donating to Postgres:

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


Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2019-12-28 03:12:30 Re: Allow WHEN in INSTEAD OF triggers
Previous Message Robert Haas 2019-12-28 02:46:09 Re: Server crash with Master-Slave configuration.