From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: PL/Python: Add event trigger support |
Date: | 2025-08-21 07:44:28 |
Message-ID: | E1uozyF-000wIc-2Z@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
PL/Python: Add event trigger support
Allow event triggers to be written in PL/Python. It provides a TD
dictionary with some information about the event trigger.
Author: Euler Taveira <euler(at)eulerto(dot)com>
Co-authored-by: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
Reviewed-by: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/03f03515-2068-4f5b-b357-8fb540883c38%40app.fastmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/53eff471c69dc8b0c01f046d3fdcc460eb90d0e5
Modified Files
--------------
doc/src/sgml/plpython.sgml | 76 +++++++++++++++++++++++++++
src/pl/plpython/expected/plpython_trigger.out | 27 ++++++++++
src/pl/plpython/plpy_exec.c | 42 +++++++++++++++
src/pl/plpython/plpy_exec.h | 1 +
src/pl/plpython/plpy_main.c | 11 ++++
src/pl/plpython/plpy_procedure.h | 1 +
src/pl/plpython/sql/plpython_trigger.sql | 24 +++++++++
7 files changed, 182 insertions(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2025-08-21 13:21:11 | pgsql: Disallow server start with sync_replication_slots = on and wal_l |
Previous Message | Michael Paquier | 2025-08-21 05:18:54 | pgsql: Apply some fat commas to commands of TAP tests |