pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: PL/Python: Refactor for event trigger support
Date: Thu, 21 Aug 2025 07:44:28 +0000
Message-ID: <E1uozyF-000wIa-2U@gemulon.postgresql.org> (raw)

PL/Python: Refactor for event trigger support

Change is_trigger type from boolean to enum.  That's a preparation for
adding event trigger support.

Author: Euler Taveira <euler@eulerto.com>
Co-authored-by: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Reviewed-by: Pavel Stehule <pavel.stehule@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/6e09c960ebb353c6cbcc05191c68aea4079df277

Modified Files
--------------
src/pl/plpython/plpy_exec.c      |  2 +-
src/pl/plpython/plpy_main.c      | 24 ++++++++++++++++++------
src/pl/plpython/plpy_procedure.c | 15 ++++++++++-----
src/pl/plpython/plpy_procedure.h | 13 +++++++++++--
src/tools/pgindent/typedefs.list |  1 +
5 files changed, 41 insertions(+), 14 deletions(-)



Message-ID: <E1uozyF-000wIa-2U@gemulon.postgresql.org>
Permalink:  ../E1uozyF-000wIa-2U@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uozyF-000wIa-2U@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: PL/Python: Refactor for event trigger support
  In-Reply-To: <E1uozyF-000wIa-2U@gemulon.postgresql.org>
  References: <E1uozyF-000wIa-2U@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox