On Sat, 17 Apr 2004, Bruno Wolff III wrote:
> On Fri, Apr 16, 2004 at 12:47:58 -0500,
> Yudie <yudie@axiontech.com> wrote:
> > Hi guys,
> > I would like to create a trigger that execute some programs,
> > is there a way to create a plpgsql function that execute shell command or
> > any other way to run a program?
> > Thanks for your help.
>
> Only untrusted languages can be used to run external programs. perlu might
> be something you can use.
Also, take a look at plsh if all you need is to run shell functions:
http://developer.postgresql.org/~petere/pgplsh/