From: Peter Eisentraut <peter_e@gmx.net>
To: A James Lewis <james@fsck.co.uk>
Cc: Peter Mount <peter@retep.org.uk>
Cc: Mathijs Brands <mathijs@ilse.nl>
Cc: pgsql-sql@postgresql.org
Subject: Re: Calling Java from psql (was Re: requesting help)
Date: Thu, 29 Mar 2001 18:59:00 +0200 (CEST)
Message-ID: <Pine.LNX.4.30.0103291857230.2091-100000@peter.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.33.0103291444390.15105-100000@vortex1.vrtx.net>
A James Lewis writes:
> Before I go investigating this, is it possible to trigger an arbitrary
> program from the SQL, say a shell script?
At the lowest level, you can generally do anything a C program can do.
Writing the equivalent of system() in SQL should be rather trivial.
You can also take a look at my little toy project PL/sh:
http://www.postgresql.org/~petere/plsh.html
--
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, james@fsck.co.uk, peter@retep.org.uk, mathijs@ilse.nl
Subject: Re: Calling Java from psql (was Re: requesting help)
In-Reply-To: <Pine.LNX.4.30.0103291857230.2091-100000@peter.localdomain>
References: <Pine.LNX.4.33.0103291444390.15105-100000@vortex1.vrtx.net> <Pine.LNX.4.30.0103291857230.2091-100000@peter.localdomain>
* 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