Table rewrite supporting functions for event triggers
Greg Sabino Mullane <htamfids@gmail.com>
From: Greg Sabino Mullane <htamfids@gmail.com>
To: pgsql-docs <pgsql-docs@lists.postgresql.org>
Date: 2024-09-02T21:15:03Z
Lists: pgsql-docs
Attachments
- 0001-Document-the-event-trigger-table-rewrite-functions.patch (application/octet-stream) patch 0001
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
Commits
-
doc: Add better description for rewrite functions in event triggers
- 93a596c73517 13.17 landed
- bca802600c7f 14.14 landed
- 14440d3b07af 15.9 landed
- a1b859c6893a 16.5 landed
- 709ce29b1656 17.1 landed
- 4b7bba49e712 18.0 landed