Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id D4D4D1337B92 for ; Mon, 3 Jan 2011 02:55:38 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 41074-03 for ; Mon, 3 Jan 2011 06:55:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id 49D9A1337B8A for ; Mon, 3 Jan 2011 02:55:31 -0400 (AST) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PZeKI-0007wg-Ra for pgsql-admin@postgresql.org; Sun, 02 Jan 2011 22:55:30 -0800 Date: Sun, 2 Jan 2011 22:55:30 -0800 (PST) From: kirancnair To: pgsql-admin@postgresql.org Message-ID: <1294037730835-3325407.post@n5.nabble.com> Subject: Greenplum: Functions that execute SQL statements from the segDBs are not yet supported. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.766 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RFC_ABUSE_POST=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201101/8 X-Sequence-Number: 36448 Hi, I get this error when I try to call a function from an Insert Trigger set on one of my tables in the SNE GP Edition: ERROR: Functions that execute SQL statements from the segDBs are not yet supported (spi.c:203) (seg0 localhost:50001 pid=5504) DETAIL: SQL statement "SELECT DISTINCT min(zasn) FROM zeusasn WHERE zasn IN (SELECT asn FROM asntable where ip >>= '10.29.249.121')" PL/pgSQL function "eptriggerfn" line 5 at SQL statement ********** Error ********** ERROR: Functions that execute SQL statements from the segDBs are not yet supported (spi.c:203) (seg0 localhost:50001 pid=5504) SQL state: XX000 Detail: SQL statement "SELECT DISTINCT min(zasn) FROM zeusasn WHERE zasn IN (SELECT asn FROM asntable where ip >>= '10.29.249.121')" PL/pgSQL function "eptriggerfn" line 5 at SQL statement What can be the cause of this? Triggers + functions are working perfectly fine with another table in the same DB. Thanks in advance! Rgds, Kiran -- View this message in context: http://postgresql.1045698.n5.nabble.com/Greenplum-Functions-that-execute-SQL-statements-from-the-segDBs-are-not-yet-supported-tp3325407p3325407.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com.