C G wrote:

Dear All,

Could anyone explain why this function does will not work? The error message is
DETAIL: exceptions.RuntimeError: maximum recursion depth exceeded.


CREATE FUNCTION testing() RETURNS trigger AS'

plan=plpy.prepare(''INSERT INTO t1 values ($1)'',[''text''])
plpy.execute(plan,[''blah''])
return ''MODIFY''

'LANGUAGE plpythonu;

Do you have a trigger on 't1' which invokes testing()?


Mike Mascari



---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
     subscribe-nomail command to [EMAIL PROTECTED] so that your
     message can get through to the mailing list cleanly



Reply via email to