Skip site navigation (1) Skip section navigation (2)

Re: Runnning operating system commands from an SPL

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Runnning operating system commands from an SPL
Date: 2010-06-18 09:16:49
Message-ID: hvfdi1$ljj$1@reversiblemaps.ath.cx (view raw or flat)
Thread:
Lists: pgsql-novice
On 2010-06-17, Atif Jung <atifjung(at)gmail(dot)com> wrote:
> --0016e6db2979ca8a9d04893aae3a
> Content-Type: text/plain; charset=ISO-8859-1
>
> How do I run an operating system command from a stored procedure? In
> INFORMIX I would use the SYSTEM command, can't see to find the equivalent
> for POSTGRES.
>
> I'm running AIX6.1.

PLPGSQL doesn't allow that. use one of the untrusted languages:
C, PLPERLU, PLTCLU, etc...


In response to

pgsql-novice by date

Next:From: Atif JungDate: 2010-06-18 10:52:21
Subject: Re: Runnning operating system commands from an SPL
Previous:From: Tim LandscheidtDate: 2010-06-17 15:43:37
Subject: Re: How to combine many rows into one row (by concatenation?) ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group