Re: Question: what is proper way to define python function as event_trigger?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Question: what is proper way to define python function as event_trigger?
Дата
Msg-id 9760.1577058006@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Question: what is proper way to define python function asevent_trigger?  (Andrei Pozolotin <andrei.pozolotin@gmail.com>)
Ответы Re: Question: what is proper way to define python function asevent_trigger?  (Andrei Pozolotin <andrei.pozolotin@gmail.com>)
Список pgsql-general
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



В списке pgsql-general по дате отправления:

Предыдущее
От: Jeff Ross
Дата:
Сообщение: Re: Question: what is proper way to define python function asevent_trigger?
Следующее
От: "Boylan, Ross"
Дата:
Сообщение: Re: Semi-unable to add new records to table--primary key needed?