While looking over the event trigger docs, I noticed that the sample code references the two special table rewrite functions (returning oid and reason for the rewrite), but the event trigger page itself does not mention them, although it does mention the functions available for the other types of event triggers (e.g. pg_event_trigger_ddl_commands). Please find attached a patch to remedy this, including the meaning of the int values (which, while subject to change, seems worth documenting here rather than hand-waving it away as func.sgml does)
Cheers, Greg
0001-Document-the-event-trigger-table-rewrite-functions.patch
Description: Binary data