| 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 |
| Message-ID: | 20191228164529.GN32763@fetter.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| 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 :)
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 | Content-Type | Size |
|---|---|---|
| v2-0001-Allow-WHEN-in-INSTEAD-OF-triggers.patch | text/x-diff | 10.5 KB |
| 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 |