Re: pl/pythonu - Mailing list pgsql-general

From Barbara Lindsey
Subject Re: pl/pythonu
Date
Msg-id 402A6AF1.5070407@cog.ufl.edu
Whole thread Raw
In response to pl/pythonu  ("C G" <csgcsg39@hotmail.com>)
List pgsql-general
You could write a rule to trigger a record into a table as well.

Richard Huxton wrote:
> On Wednesday 11 February 2004 15:56, 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''])
>
>
> I know nothing of pl-python, but I don't suppose this is a trigger function on
> table t1 is it?
>
> Or, does a trigger on t1 activate an insert on t2, which inserts on t1,
> which...



--
Barbara E. Lindsey,
COG RDC
Phone: (352) 392-5198 ext. 314     Fax: (352) 392-8162

----
CONFIDENTIALITY NOTICE: The information contained in this electronic
message is legally privileged and confidential and intended only for the
use of the individual(s) or entity(ies) named above.  If the reader of
this message is not the intended recipient, you are hereby notified that
any dissemination, distribution, or copying of this email or any of it's
components is strictly prohibited.  If you have received this email in
error, please contact the sender.
----


pgsql-general by date:

Previous
From: Barbara Lindsey
Date:
Subject: Re: pl/pythonu
Next
From: Mark Harrison
Date:
Subject: createdb feature request