Re: invoke an external shell script from a function - Mailing list pgsql-sql

From Joel Mc Graw
Subject Re: invoke an external shell script from a function
Date
Msg-id 39D523C2.800C6D00@home.com
Whole thread Raw
In response to Re: invoke an external shell script from a function  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-sql
Peter Eisentraut wrote:
> 
> Chau, Artemis writes:
> 
> > Does anyone know how to invoke an external shell script from a function when
> > it is called from a sql statement?
> 
> If it's a C function, use system("file").

Is this the only way to do this?  I would also like to have a trigger
call an external program.  Is there a good place to go for more info on
this?

TIA


pgsql-sql by date:

Previous
From: Keith Wong
Date:
Subject: Transaction isolation level for plpgsql
Next
From: Bruce Momjian
Date:
Subject: Re: More efficient DELETE ... ?