Andres Freund <and...@anarazel.de> writes: > On 2015-04-01 13:29:33 -0400, Tom Lane wrote: >> WHEN won't help; if there are any INSTEAD OF triggers, no insert will >> happen, whether the triggers actually fire or not.
> Well, right now it doesn't work at all. It seems pretty reasonable to > define things so that the insert happens normally if there's no matching > INSTEAD OF trigger. It would absolutely *not* be reasonable for WHEN conditions for triggers on tables to work completely differently than they do for triggers on views. That ship's sailed. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers