News for hackers. Stuff that matters.
Re:Are triggers really that slow in Postgres? by fredrikfornwall on Wednesday May 23, 2018 @02:06AM (#17131749)
A properly written trigger shouldn't throw away data silently.

It should raise an exception, which indeed would cause the query to fail, and roll back the whole transaction (so no side effect is committed at all).

https://www.postgresql.org/docs/current/static/plpgsql-error...

There are no comments on this comment yet.