Trigger to spawn process? - Mailing list pgsql-general

From David Busby
Subject Trigger to spawn process?
Date
Msg-id 005801c2b082$8b02f8a0$1103a8c0@edoceo.com
Whole thread Raw
List 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 by date:

Previous
From: Wenzhe Zhou
Date:
Subject: Postgres run out of disk space
Next
From: Stephan Szabo
Date:
Subject: Re: RI Constraint display