Python + listen/notify

Поиск
Список
Период
Сортировка
От Filipe Brandão
Тема Python + listen/notify
Дата
Msg-id F42B79DA-AFBE-41DB-A8AF-510F0EEAE460@gmail.com
обсуждение исходный текст
Ответы Re: Python + listen/notify  (Josh Kupershmidt <schmiddy@gmail.com>)
Список pgsql-general
Hi all.
I needed to have a trigger firing after a commit, but allready realized it's not possible.
As i searched upon a solution i came across the LISTEN / NOTIFY. I haven't yet realized exactly what i can do with it,
butcan i use it to run a simple python script located out my DB? 
Can't run it inside the DB since i need to do it after the completion of a few triggers (after commit).
Any help would be much appreciated!
Thanks in advance!

Sent from my iPad

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Transaction question
Следующее
От: Josh Kupershmidt
Дата:
Сообщение: Re: Python + listen/notify