From: Erik Jones <erik@myemma.com>
To: Sabin Coanda <sabin.coanda@deuromedia.ro>
Cc: pgsql-sql@postgresql.org
Subject: Re: execute system command from storage procedure
Date: Thu, 6 Dec 2007 11:05:26 -0600
Message-ID: <0ADCABEF-24DC-4C72-9ED4-EBB7D2AA54FC@myemma.com> (raw)
In-Reply-To: <fj985l$1h70$1@news.hub.org>
References: <fj985l$1h70$1@news.hub.org>
On Dec 6, 2007, at 10:32 AM, Sabin Coanda wrote:
> Hi there,
>
> Is it possible to execute a system command from a function ? (e.g.
> bash )
If you use one of the untrusted procedural languages (e.g. plperlu,
plpythonu, ...) you can.
Erik Jones
Software Developer | Emma®
erik@myemma.com
800.595.4401 or 615.292.5888
615.292.0777 (fax)
Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: erik@myemma.com, sabin.coanda@deuromedia.ro
Subject: Re: execute system command from storage procedure
In-Reply-To: <0ADCABEF-24DC-4C72-9ED4-EBB7D2AA54FC@myemma.com>
* 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