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 0D1F69DCBCF for ; Sat, 10 Dec 2005 12:14:18 -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 77723-09 for ; Sat, 10 Dec 2005 12:14:16 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by postgresql.org (Postfix) with ESMTP id 27F8D9DCD48 for ; Sat, 10 Dec 2005 12:14:14 -0400 (AST) Received: by wproxy.gmail.com with SMTP id 69so1114766wra for ; Sat, 10 Dec 2005 08:14:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WAPSF7MrOZ0BG1MB6n01su+YQ3RMMq4TXpUhn36XCda4Y4d6phMGgQ0yV8cKnHqIBgJ97p5g15tuWDMiZzO9H6bXreU7GWA/u1ftv0uANG3QWe4QodVKQ0F6MKRxOPrUU+rkI5/ItWABG0flufZblJkZXPfyN/0W5FHUv/u/Mok= Received: by 10.54.73.14 with SMTP id v14mr2014209wra; Sat, 10 Dec 2005 08:14:14 -0800 (PST) Received: by 10.54.98.6 with HTTP; Sat, 10 Dec 2005 08:14:14 -0800 (PST) Message-ID: Date: Sat, 10 Dec 2005 11:14:14 -0500 From: Jaime Casanova To: yves.vindevogel@implements.be Subject: Re: Executing a shell command from a PG function Cc: pgsql-performance@postgresql.org In-Reply-To: <439AFA8C.5070303@implements.be> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <439AFA8C.5070303@implements.be> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.148 required=5 tests=[AWL=0.148] X-Spam-Score: 0.148 X-Spam-Level: X-Archive-Number: 200512/269 X-Sequence-Number: 16090 On 12/10/05, Yves Vindevogel wrote: > Hi, > > Is it possible to run a shell script, passing values of fields to it, in > a Postgres function ? > > Yves Vindevogel > search for the pl/sh language -- regards, Jaime Casanova (DBA: DataBase Aniquilator ;)