Re: infinite recursion detected in rules for relation "..."

From: Sebastian Böck <sebastianboeck(at)freenet(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: infinite recursion detected in rules for relation "..."
Date: 2004-11-22 09:57:42
Message-ID: 41A1B816.80107@freenet.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> =?ISO-8859-1?Q?Sebastian_B=F6ck?= <sebastianboeck(at)freenet(dot)de> writes:
>
>>infinite recursion detected in rules for relation "..."
>
>
> If you need a patch immediately, here it is.
>
> *** src/backend/rewrite/rewriteHandler.c.orig Sat Nov 6 12:46:35 2004
> --- src/backend/rewrite/rewriteHandler.c Sat Nov 20 12:47:21 2004
> ***************
> *** 1267,1272 ****
> --- 1267,1274 ----
> newstuff = RewriteQuery(pt, rewrite_events);
> rewritten = list_concat(rewritten, newstuff);
> }
> +
> + rewrite_events = list_delete_first(rewrite_events);
> }
> }
>
>
> regards, tom lane

Thanks for the quick patch!
Everything is working now.

Sebastian

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dawid Kuroczko 2004-11-22 10:30:20 Re: COMMIT within function?
Previous Message David Pradier 2004-11-22 08:53:14 Re: How to make a good documentation of a database ?