From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrei Pozolotin <andrei.pozolotin@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Question: what is proper way to define python function as event_trigger?
Date: Sun, 22 Dec 2019 18:40:06 -0500
Message-ID: <9760.1577058006@sss.pgh.pa.us> (raw)
In-Reply-To: <0d6c5bdc3ab532bc3240cfb14bc55ce9@gmail.com>
References: <0d6c5bdc3ab532bc3240cfb14bc55ce9@gmail.com>
Andrei Pozolotin <andrei.pozolotin@gmail.com> writes:
> 1. any attempt to define python function as an event_trigger, i.e.:
AFAICS, there's not really any event trigger support in plpython.
That feature has only been built out in the other three PLs.
Somebody oughta fix this sometime, I guess, but it evidently hasn't
been high priority. If you feel like working on it, you could look
at commits e5dc4cc24d2e1e94ac572a2c64103710bf15d21e (for plperl)
and/or a5036ca998a6058f60913d43a80badfcbb65f5bb (for pltcl).
regards, tom lane
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, andrei.pozolotin@gmail.com
Subject: Re: Question: what is proper way to define python function as event_trigger?
In-Reply-To: <9760.1577058006@sss.pgh.pa.us>
References: <0d6c5bdc3ab532bc3240cfb14bc55ce9@gmail.com> <9760.1577058006@sss.pgh.pa.us>
* 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