Compound triggers v17
EDB Postgres Advanced Server has compatible syntax to support compound triggers.
Compound trigger overview
A compound trigger combines all the triggering timings under one trigger body that you can invoke at one or more timing points. A timing point is a point in time related to a triggering statement, which is an INSERT, UPDATE, DELETE, or TRUNCATE statement that modifies data. The supported timing points are:
BEFORE STATEMENT— Before the triggering statement executes.BEFORE EACH ROW— Before each row that the triggering statement affects.AFTER EACH ROW