pl/pythonu - Mailing list pgsql-general

From C G
Subject pl/pythonu
Date
Msg-id Law12-F40AK8ErbiuAy00010cf7@hotmail.com
Whole thread Raw
Responses Re: pl/pythonu  (Mike Mascari <mascarm@mascari.com>)
Re: pl/pythonu  (Richard Huxton <dev@archonet.com>)
Re: pl/pythonu  ("scott.marlowe" <scott.marlowe@ihs.com>)
List 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


pgsql-general by date:

Previous
From: "Arthur Ward"
Date:
Subject: Re: Temporary views
Next
From: "Ed L."
Date:
Subject: Re: DB cache size strategies