Run a unix or perl command in a trigger - Mailing list pgsql-general

From Thierry Missimilly
Subject Run a unix or perl command in a trigger
Date
Msg-id 40E426C5.830BB23B@bull.net
Whole thread Raw
Responses Re: Run a unix or perl command in a trigger  (Mike Nolan <nolan@gw.tssi.com>)
List pgsql-general
Hi Postgres users,

I wonder to know if it is possible to launch a Perl program or a unix
comand in a trigger function.
I have tried to do that in a C trigger developed with the SPI function.
But my examples does not work and i don't have any error messages in the
postgres logfile.
So, i ask you your opinion and an example of code if your trigger works.

Regards,
Thierry Missimilly

Attachment

pgsql-general by date:

Previous
From: Bill Montgomery
Date:
Subject: Re: backups
Next
From: Dennis Gearon
Date:
Subject: permissions