X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 584079DCC75 for ; Thu, 2 Mar 2006 11:52:53 -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 95196-04 for ; Thu, 2 Mar 2006 11:52:57 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id DA9789DCBE3 for ; Thu, 2 Mar 2006 11:52:50 -0400 (AST) Received: from smtp.imatech.net (smtp.imatech.net [81.255.215.253]) by svr4.postgresql.org (Postfix) with ESMTP id 3C1FC5AF851 for ; Thu, 2 Mar 2006 15:52:55 +0000 (GMT) X-AuthUser: olivier.boissard@cerene.fr Received: from [200.200.200.35] ([195.6.193.141]:55413) by smtp.imatech.net with [XMail 1.21 ESMTP Server] id for from ; Thu, 2 Mar 2006 16:53:03 +0100 Message-ID: <440714EA.7010506@cerene.fr> Date: Thu, 02 Mar 2006 16:53:14 +0100 From: Olivier Boissard Organization: cerene services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: call an external script from pgsql Content-Type: multipart/mixed; boundary="------------060607000307020408030406" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200603/20 X-Sequence-Number: 20777 This is a multi-part message in MIME format. --------------060607000307020408030406 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I would like to call an external "shell" script from a trigger. I use actually pgplsh. It works fine but there is a lot of problem with special characters. In addition I can not compile this language any more.. Do you know others solutions to call an external script? Is it possible with python ? Olivier --------------060607000307020408030406 Content-Type: text/x-vcard; charset=utf-8; name="olivier.boissard.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="olivier.boissard.vcf" begin:vcard fn:Olivier Boissard n:Boissard;Olivier org:Cerene Services adr:;;3 rue Archimede;La Chapelle Saint Luc;;10000;France email;internet:olivier.boissard@cerene.fr tel;work:03.25.74.11.78 tel;fax:03.25.78.39.67 version:2.1 end:vcard --------------060607000307020408030406--