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

From Peter Eisentraut
Subject Re: invoke an external shell script from a function
Date
Msg-id Pine.LNX.4.21.0009291830250.363-100000@peter
Whole thread Raw
In response to invoke an external shell script from a function  ("Chau, Artemis" <artemis.chau@intel.com>)
List pgsql-sql
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").

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-sql by date:

Previous
From: "Chau, Artemis"
Date:
Subject: invoke an external shell script from a function
Next
From: Alessandro Rossi
Date:
Subject: timestamp difference in hours? (fwd)