X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 49C0452948 for ; Sun, 3 Apr 2005 01:36:31 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 24275-03 for ; Sun, 3 Apr 2005 00:36:21 +0000 (GMT) Received: from mx5.net.nih.gov (mailfwd.nih.gov [165.112.130.36]) by svr1.postgresql.org (Postfix) with ESMTP id 5202753230 for ; Sun, 3 Apr 2005 01:36:20 +0100 (BST) Received: from mx5.net.nih.gov (localhost [127.0.0.1]) by mx5.net.nih.gov (8.12.10/8.11.6) with ESMTP id j330aNaq011503 for ; Sat, 2 Apr 2005 19:36:23 -0500 Received: from WATSON (vpn-165-112-10-12.net.nih.gov [165.112.10.12]) by mx5.net.nih.gov (8.12.10/8.11.6) with SMTP id j330aHKe011488; Sat, 2 Apr 2005 19:36:23 -0500 Message-ID: <004d01c537e5$26a9ae20$5179f345@WATSON> From: "Sean Davis" To: "Peter Roy" , References: <837E2D142AD65949A448F35264E82BA00211211A@THEXCHBE2X.services.byworkwise.com> Subject: Re: calling an external (windows) exe Date: Sat, 2 Apr 2005 19:36:18 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_004A_01C537BB.3DAB0F80" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.105 tagged_above=0 required=5 tests=AWL, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200504/9 X-Sequence-Number: 5425 This is a multi-part message in MIME format. ------=_NextPart_000_004A_01C537BB.3DAB0F80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable You can with several of the procedure languages, though I think you = would have to use the "untrusted" versions. I use pl/perl (untrusted) = which has the system command. You can read the docs on the different = procedure languages at: http://www.postgresql.org Sean ----- Original Message -----=20 From: Peter Roy=20 To: pgsql-interfaces@postgresql.org=20 Sent: Thursday, March 31, 2005 10:41 AM Subject: [INTERFACES] calling an external (windows) exe Hi, Is it possible to call an executable from within a PostgreSQL = function? ------=_NextPart_000_004A_01C537BB.3DAB0F80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
You can with several of the procedure = languages,=20 though I think you would have to use the "untrusted" versions.  I = use=20 pl/perl (untrusted) which has the system command.  You can = read the=20 docs on the different procedure languages at:
 
http://www.postgresql.org
 
Sean
----- Original Message -----
From:=20 Peter=20 Roy
To: pgsql-interfaces@postgres= ql.org=20
Sent: Thursday, March 31, 2005 = 10:41=20 AM
Subject: [INTERFACES] calling = an external=20 (windows) exe

Hi,

Is it possible to call = an=20 executable from within a PostgreSQL=20 = function?

------=_NextPart_000_004A_01C537BB.3DAB0F80--