Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id C47659FB1F1 for ; Mon, 30 Apr 2007 11:54:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 51446-07 for ; Mon, 30 Apr 2007 11:54:47 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from relay.iol.cz (relay.iol.cz [194.228.41.114]) by postgresql.org (Postfix) with ESMTP id 92B2F9FB434 for ; Mon, 30 Apr 2007 11:54:53 -0300 (ADT) Received: from [192.168.1.91] (unknown [194.228.201.194]) by relay.iol.cz (Postfix) with ESMTP id 82C343708E for ; Mon, 30 Apr 2007 16:54:43 +0200 (CEST) Message-ID: <463603AE.8020807@centrum.cz> Date: Mon, 30 Apr 2007 16:56:46 +0200 From: David Flegl User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: NEW to plpythonu function? Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/277 X-Sequence-Number: 28277 Hi, may anyone help me with problem how to passed trigger row NEW from trigger function in plpgsql to other support function in plpythonu? I've tried something like> CREATE FUNCTION pythfce(arg record)... CREATE FUNCTION pythfce(arg anyelement)... but now effect. I'm getting system messages like: plpythonu don't know argument type recort, anyelement) P.S. I would like to have trigger function in plpgsql and supporting function in plpythonu, not to join them to plpythonu. Thankx a lot David Flegl