pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Kretschmer <akretschmer@spamfence.net>
To: pgsql-sql@postgresql.org
Subject: Re: execute system command from storage procedure
Date: Thu, 6 Dec 2007 18:07:56 +0100
Message-ID: <20071206170755.GA16649@KanotixBox> (raw)
In-Reply-To: <fj985l$1h70$1@news.hub.org>
References: <fj985l$1h70$1@news.hub.org>

Sabin Coanda <sabin.coanda@deuromedia.ro> schrieb:

> Hi there,
> 
> Is it possible to execute a system command from a function ? (e.g. bash )

Yes, of course, but you need an untrusted language like pl/perlU oder
plsh. http://plsh.projects.postgresql.org/


Andreas
-- 
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."    (unknow)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°



view thread (3+ messages)

Message-ID: <20071206170755.GA16649@KanotixBox>
Permalink:  ../20071206170755.GA16649@KanotixBox/
Also on:    postgresql.org/message-id/20071206170755.GA16649@KanotixBox

 · 

reply

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: akretschmer@spamfence.net
  Subject: Re: execute system command from storage procedure
  In-Reply-To: <20071206170755.GA16649@KanotixBox>

* 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