X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id BBDD79DC810 for ; Thu, 16 Mar 2006 15:29:15 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 86711-07 for ; Thu, 16 Mar 2006 15:29:15 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by postgresql.org (Postfix) with ESMTP id 242F09DCC22 for ; Thu, 16 Mar 2006 15:29:10 -0400 (AST) Received: from [194.25.154.138] (helo=webserv.wug.de) by mrelayeu.kundenserver.de (node=mrelayeu10) with ESMTP (Nemesis), id 0ML31I-1FJy9m4A4M-0003ZD; Thu, 16 Mar 2006 20:29:11 +0100 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1FJy9l-0003Kk-00 for pgsql-sql@postgresql.org; Thu, 16 Mar 2006 20:29:09 +0100 Date: Thu, 16 Mar 2006 20:29:09 +0100 From: "A. Kretschmer" To: pgsql-sql@postgresql.org Subject: Re: executing external command Message-ID: <20060316192909.GA12786@webserv.wug-glas.de> Mail-Followup-To: "A. Kretschmer" , pgsql-sql@postgresql.org References: <20060316183957.GA11602@s2.yuriev.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060316183957.GA11602@s2.yuriev.com> X-DEST: 208 X-MSMail-Priority: High X-Message-Flag: Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) X-OS: Linux - weil ich es mir Wert bin! X-Info: registrierter Linux-User 97922 http://counter.li.org User-Agent: mutt-ng 1.5.9i (Linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:51ea9561fc3f6d9539a2acd743e4748c X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.181 required=5 tests=[AWL=-0.213, MISSING_MIMEOLE=1.394] X-Spam-Score: 1.181 X-Spam-Level: * X-Archive-Number: 200603/238 X-Sequence-Number: 24584 am 16.03.2006, um 13:39:57 -0500 mailte alex-lists-pgsql@yuriev.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 ===