Re: executing external command

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: executing external command
Date: 2006-03-16 19:29:09
Message-ID: 20060316192909.GA12786@webserv.wug-glas.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

am 16.03.2006, um 13:39:57 -0500 mailte alex-lists-pgsql(at)yuriev(dot)com folgendes:
>
>
> Is there a way to execute an external i.e. system command from inside a
> pl/pgsql function?

You can call a untrusted function (plperlu, plsh, ...) and inside this
function you can call system commands.

HTH, Andreas
--
Andreas Kretschmer (Kontakt: siehe Header)
Heynitz: 035242/47215, D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
=== Schollglas Unternehmensgruppe ===

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Emi Lu 2006-03-16 19:32:10 Re: About how to use "exception when ??? then "
Previous Message Richard Huxton 2006-03-16 19:01:42 Re: About how to use "exception when ??? then "