pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: kirancnair <kirncha@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Greenplum: Functions that execute SQL statements from the segDBs are not yet supported.
Date: Sun, 2 Jan 2011 22:55:30 -0800 (PST)
Message-ID: <1294037730835-3325407.post@n5.nabble.com> (raw)


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-seg...
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.



view thread (3+ messages)  latest in thread

Message-ID: <1294037730835-3325407.post@n5.nabble.com>
Permalink:  ../1294037730835-3325407.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1294037730835-3325407.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: kirncha@gmail.com
  Subject: Re: Greenplum: Functions that execute SQL statements from the segDBs are not yet supported.
  In-Reply-To: <1294037730835-3325407.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox