X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id E10B69DCAB7 for ; Sat, 10 Dec 2005 11:53:02 -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 77582-04 for ; Sat, 10 Dec 2005 11:53:07 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from astra.telenet-ops.be (astra.telenet-ops.be [195.130.132.58]) by postgresql.org (Postfix) with ESMTP id 94CE19DCAB4 for ; Sat, 10 Dec 2005 11:53:00 -0400 (AST) Received: from localhost (localhost.localdomain [127.0.0.1]) by astra.telenet-ops.be (Postfix) with SMTP id 0CA16381F4 for ; Sat, 10 Dec 2005 16:53:04 +0100 (CET) Received: from [10.0.1.5] (d5152B3BA.access.telenet.be [81.82.179.186]) by astra.telenet-ops.be (Postfix) with ESMTP id E8222380E7 for ; Sat, 10 Dec 2005 16:53:03 +0100 (CET) Message-ID: <439AFA8C.5070303@implements.be> Date: Sat, 10 Dec 2005 16:55:56 +0100 From: Yves Vindevogel Reply-To: yves.vindevogel@implements.be User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Executing a shell command from a PG function Content-Type: multipart/mixed; boundary="------------020903010408070707020100" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.823 required=5 tests=[RCVD_IN_SORBS_SOCKS=1.823] X-Spam-Score: 1.823 X-Spam-Level: * X-Archive-Number: 200512/268 X-Sequence-Number: 16089 This is a multi-part message in MIME format. --------------020903010408070707020100 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Is it possible to run a shell script, passing values of fields to it, in a Postgres function ? Yves Vindevogel --------------020903010408070707020100 Content-Type: text/x-vcard; charset=utf-8; name="yves.vindevogel.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="yves.vindevogel.vcf" begin:vcard fn:Yves Vindevogel n:Vindevogel;Yves org:Implements adr:;;Kempische Steenweg 206;Hasselt;;3500;Belgium email;internet:yves.vindevogel@implements.be tel;work:+32 (11) 43 55 76 tel;home:+32 (11) 43 55 76 tel;cell:+32 (478) 80 82 91 x-mozilla-html:TRUE url:http://www.implements.be version:2.1 end:vcard --------------020903010408070707020100--