Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 2BF7E2E38AC for ; Thu, 6 Dec 2007 12:50:13 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 24941-01-3 for ; Thu, 6 Dec 2007 12:50:09 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id EC9E62E385D for ; Thu, 6 Dec 2007 12:49:57 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.1/8.14.1) with ESMTP id lB6Gnt4K088104 for ; Thu, 6 Dec 2007 12:49:55 -0400 (AST) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.1/8.14.1/Submit) id lB6GVoCm050426 for pgsql-sql@postgresql.org; Thu, 6 Dec 2007 12:31:50 -0400 (AST) (envelope-from news) From: "Sabin Coanda" X-Newsgroups: pgsql.sql Subject: execute system command from storage procedure Date: Thu, 6 Dec 2007 18:32:01 +0200 Organization: Hub.Org Networking Services Lines: 8 Message-ID: X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 To: pgsql-sql@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/17 X-Sequence-Number: 29709 Hi there, Is it possible to execute a system command from a function ? (e.g. bash ) TIA, Sabin