Re: pl/pythonu

From: Richard Huxton <dev(at)archonet(dot)com>
To: "C G" <csgcsg39(at)hotmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: pl/pythonu
Date: 2004-02-11 16:50:00
Message-ID: 200402111650.00582.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-02-11 16:53:01 Re: [GENERAL] dblink - custom datatypes don't work
Previous Message C G 2004-02-11 16:49:46 Re: pl/pythonu