Trigger to spawn process?

Поиск
Список
Период
Сортировка
От David Busby
Тема Trigger to spawn process?
Дата
Msg-id 005801c2b082$8b02f8a0$1103a8c0@edoceo.com
обсуждение исходный текст
Список pgsql-general
List,
    I've got my PG7.3 smoking right, but I need to have a trigger (for
update) that will then "fork" off and run a PHP script (PHP CLI is awesome)
that does some stuff.  How is that done?  I also need to send the
information about updated row or rows to my script?  If I make this trigger
then what will happen on a large update?  Does the trigger get called once
for each update? or does it go once at the end?  Thanks!!

/B


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

Предыдущее
От: Wenzhe Zhou
Дата:
Сообщение: Postgres run out of disk space
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: RI Constraint display