pl/pythonu

From: "C G" <csgcsg39(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: pl/pythonu
Date: 2004-02-11 15:56:06
Message-ID: Law12-F40AK8ErbiuAy00010cf7@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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;

Thanks

Colin

_________________________________________________________________
Sign-up for a FREE BT Broadband connection today!
http://www.msn.co.uk/specials/btbroadband

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ed L. 2004-02-11 16:09:54 Re: DB cache size strategies
Previous Message Arthur Ward 2004-02-11 15:47:54 Re: Temporary views