From: Peter Eisentraut <peter_e@gmx.net>
To: Chau, Artemis <artemis.chau@intel.com>
Cc: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: Re: invoke an external shell script from a function
Date: Fri, 29 Sep 2000 18:31:27 +0200 (CEST)
Message-ID: <Pine.LNX.4.21.0009291830250.363-100000@peter> (raw)
In-Reply-To: <A60B56F3D180D211AC3F00A0C96931DE0478728A@orsmsx48.jf.intel.com>
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/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: peter_e@gmx.net, artemis.chau@intel.com
Subject: Re: invoke an external shell script from a function
In-Reply-To: <Pine.LNX.4.21.0009291830250.363-100000@peter>
References: <A60B56F3D180D211AC3F00A0C96931DE0478728A@orsmsx48.jf.intel.com> <Pine.LNX.4.21.0009291830250.363-100000@peter>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox