Re: pl/pythonu - Mailing list pgsql-general

From Richard Huxton
Subject Re: pl/pythonu
Date
Msg-id 200402111650.00582.dev@archonet.com
Whole thread Raw
In response to pl/pythonu  ("C G" <csgcsg39@hotmail.com>)
List pgsql-general
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...
--
  Richard Huxton
  Archonet Ltd

pgsql-general by date:

Previous
From: Iker Arizmendi
Date:
Subject: Re: Function parameters of rowtype
Next
From: "C G"
Date:
Subject: Re: pl/pythonu