Re: invoke an external shell script from a function

From: Joel Mc Graw <jpmcgraw1(at)home(dot)com>
To:
Cc: "'pgsql-sql(at)postgresql(dot)org'" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: invoke an external shell script from a function
Date: 2000-09-29 23:20:34
Message-ID: 39D523C2.800C6D00@home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2000-09-30 02:24:37 Re: More efficient DELETE ... ?
Previous Message Alessandro Rossi 2000-09-29 19:46:12 timestamp difference in hours? (fwd)