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 <eu...@eulerto.com>
Co-authored-by: Dimitri Fontaine <dimi...@2ndquadrant.fr>
Reviewed-by: Pavel Stehule <pavel.steh...@gmail.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(+)

Reply via email to