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

Re: Runnning operating system commands from an SPL

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Runnning operating system commands from an SPL
Date: 2010-06-17 14:51:42
Message-ID: 20100617145141.GA5150@tux (view raw or flat)
Thread:
Lists: pgsql-novice
Atif Jung <atifjung(at)gmail(dot)com> wrote:

> 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.

You can use a un-trusted programming language, for instance pl/perlu or
plsh.


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."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

In response to

Responses

pgsql-novice by date

Next:From: A BDate: 2010-06-17 15:14:24
Subject: How to combine many rows into one row (by concatenation?) ?
Previous:From: Atif JungDate: 2010-06-17 14:30:19
Subject: Runnning operating system commands from an SPL

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