Greenplum: Functions that execute SQL statements from the segDBs are not yet supported. - Mailing list pgsql-admin

From kirancnair
Subject Greenplum: Functions that execute SQL statements from the segDBs are not yet supported.
Date
Msg-id 1294037730835-3325407.post@n5.nabble.com
Whole thread Raw
Responses Re: Greenplum: Functions that execute SQL statements from the segDBs are not yet supported.  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: Greenplum: Functions that execute SQL statements from the segDBs are not yet supported.  (bricklen <bricklen@gmail.com>)
List pgsql-admin
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.

pgsql-admin by date:

Previous
From: pasman pasmański
Date:
Subject: Re: pg v. 8.4.5 misses objects and data after restoring from backup using wal
Next
From: "Kevin Grittner"
Date:
Subject: Re: Greenplum: Functions that execute SQL statements from the segDBs are not yet supported.