Calling external programs - Mailing list pgsql-general

From Fran Fabrizio
Subject Calling external programs
Date
Msg-id 3B1D032B.438CF692@exchange.webmd.net
Whole thread Raw
List pgsql-general
Hello,

I would like to call an external program from Pg.  Specifically, I'd
like to send an email every time a row with certain attribute values is
inserted into a table.  I already have a trigger that fires upon
insertion into the table.  Is the preferred method to have a trigger
call a procedure written in say PLPERL?  Is PLPERL capable of calling
external programs or better yet forming the mail and calling sendmail
itself?

Thanks,
Fran


pgsql-general by date:

Previous
From: Andrew Gould
Date:
Subject: Re: Postgresql and W98
Next
From: "Bryan White"
Date:
Subject: Re: Text data type doesn't accept newlines?