Table rewrite supporting functions for event triggers

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: pgsql-docs <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Table rewrite supporting functions for event triggers
Date: 2024-09-02 21:15:03
Message-ID: CAKAnmmL+Z6j-C8dAx1tVrnBmZJu+BSoc68WSg3sR+CVNjBCqbw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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

Attachment Content-Type Size
0001-Document-the-event-trigger-table-rewrite-functions.patch application/octet-stream 1.3 KB

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Laurenz Albe 2024-09-03 01:57:19 Re: Table rewrite supporting functions for event triggers
Previous Message PG Doc comments form 2024-09-02 10:16:06 retrieving results of procedures with OUT params