Re: execute system command from storage procedure

From: Erik Jones <erik(at)myemma(dot)com>
To: Sabin Coanda <sabin(dot)coanda(at)deuromedia(dot)ro>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: execute system command from storage procedure
Date: 2007-12-06 17:05:26
Message-ID: 0ADCABEF-24DC-4C72-9ED4-EBB7D2AA54FC@myemma.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


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(at)myemma(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Andreas Kretschmer 2007-12-06 17:07:56 Re: execute system command from storage procedure
Previous Message Sabin Coanda 2007-12-06 16:32:01 execute system command from storage procedure