Re: pl/sh (was Re: calling a shell script from pl/pgsql) - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: pl/sh (was Re: calling a shell script from pl/pgsql)
Date
Msg-id Pine.BSF.4.21.0109101117440.15751-100000@megazone23.bigpanda.com
Whole thread Raw
In response to pl/sh (was Re: calling a shell script from pl/pgsql)  (Alex Pilosov <alex@pilosoft.com>)
Responses Re: pl/sh (was Re: calling a shell script from pl/pgsql)
List pgsql-sql
On Mon, 10 Sep 2001, Alex Pilosov wrote:

> On Mon, 10 Sep 2001, Stephan Szabo wrote:
> 
> > On Mon, 10 Sep 2001, Jeff Barrett wrote:
> > 
> > > How can I call a shell script from within a pl/pgsql function that is called
> > > as from a trigger. I do not want to interact with the script I just want it
> > > to run. I do want the trigger to wait for the script it called to complete
> > > before returning a value.
> > > 
> > > Any ideas would be greatly appreciated.
> > 
> > I don't think you can do that from within pl/pgsql.  You'd probably need a
> > function in pl/tclu or c.
> Or pl/perlu! (Sorry, had to say it).

I thought perlu was added after 7.1?  I considered mentioning it, but
realized that it wouldn't help if it wasn't there yet.



pgsql-sql by date:

Previous
From: Alex Pilosov
Date:
Subject: pl/sh (was Re: calling a shell script from pl/pgsql)
Next
From: Alex Pilosov
Date:
Subject: Re: pl/sh (was Re: calling a shell script from pl/pgsql)