From Peter.Roy@tideway.com Thu Mar 31 15:46:08 2005 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 CA89453581 for ; Thu, 31 Mar 2005 16:46:08 +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 73137-05 for ; Thu, 31 Mar 2005 15:46:07 +0000 (GMT) Received: from thexchfen2.services.byworkwise.com (hostedexchange.hostedservice.com [217.28.130.38]) by svr1.postgresql.org (Postfix) with ESMTP id 870265350A for ; Thu, 31 Mar 2005 16:46:04 +0100 (BST) Received: from THEXCHBE2X.services.byworkwise.com ([192.168.18.18]) by thexchfen2.services.byworkwise.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 31 Mar 2005 16:41:32 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C53608.116F9728" Subject: calling an external (windows) exe Date: Thu, 31 Mar 2005 16:41:13 +0100 Message-ID: <837E2D142AD65949A448F35264E82BA00211211A@THEXCHBE2X.services.byworkwise.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: calling an external (windows) exe Thread-Index: AcU2CMgSjzFUwOwESbKZlz6ejLlQMA== From: "Peter Roy" To: X-OriginalArrivalTime: 31 Mar 2005 15:41:32.0372 (UTC) FILETIME=[1CFA2140:01C53608] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.24 tagged_above=0 required=5 tests=FORGED_RCVD_HELO, HTML_90_100, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200504/4 X-Sequence-Number: 5420 This is a multi-part message in MIME format. ------_=_NextPart_001_01C53608.116F9728 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi, Is it possible to call an executable from within a PostgreSQL function? ------_=_NextPart_001_01C53608.116F9728 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Hi,

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

------_=_NextPart_001_01C53608.116F9728-- From sdavis2@mail.nih.gov Sun Apr 3 00:36:31 2005 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--