Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 8DDCE9F9E42 for ; Fri, 5 Oct 2007 07:01:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 14075-01 for ; Fri, 5 Oct 2007 07:01:31 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from outmail129163.authsmtp.co.uk (outmail129163.authsmtp.co.uk [62.13.129.163]) by postgresql.org (Postfix) with ESMTP id C606C9F995C for ; Fri, 5 Oct 2007 07:01:30 -0300 (ADT) Received: from outmail128183.authsmtp.com (outmail128183.authsmtp.com [62.13.128.183]) by punt3.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id l95A1OBZ094159; Fri, 5 Oct 2007 11:01:24 +0100 (BST) Received: from [192.168.0.3] (85-211-149-22.dyn.gotadsl.co.uk [85.211.149.22]) (authenticated bits=0) by mail.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id l95A1NPF087345; Fri, 5 Oct 2007 11:01:24 +0100 (BST) Subject: Re: Executing external program from stored procedure From: Simon Riggs To: Benjamin Krajmalnik Cc: pgsql-admin@postgresql.org In-Reply-To: References: Content-Type: text/plain Date: Fri, 05 Oct 2007 10:53:48 +0100 Message-Id: <1191578028.4223.303.camel@ebony.site> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 7bit X-Server-Quench: ee635248-7329-11dc-b86a-001185d377ca X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksadBtFaABbYlpF HGQLW1NEUVx7WWJ/ aQ4fZQBDYEtPQQRu WVZLQE1QERpoT0AI A28fLHkEdw1Be3p1 K0FkXj4OCUJ5cER5 SlNTFm8PeGZhPDMC AkheJh5UcAJLdhoR aVd4ByJDAzANdhER MyoSGQV5ECVSIzlJ QwcCZV8CXUsRGDc4 DwgYGjo1FEhNST80 KlQ9NlkGEUpZKl81 OlYtREgVW3Vp X-Authentic-SMTP: 61633235383639.squirrel.dmpriest.net.uk:752/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/25 X-Sequence-Number: 26939 On Thu, 2007-10-04 at 20:02 -0600, Benjamin Krajmalnik wrote: > Is there a way to execute an external program from within a stored > procedure? Write a Function in C -- Simon Riggs 2ndQuadrant http://www.2ndQuadrant.com