Also, the PRE-COMMIT trigger gets called twice: once for each block when the
commit is done, and once for each record that is actually written to the backend.
There is no way to run a trigger for every record that has been
inserted/updated/deleted *after* the operation has taken place. Especially for
inserts, this would be handy, as the OID is not available in the PRE-INSERT trigger.