Re: infinite recursion detected in rules for relation "..." - Mailing list pgsql-general

From Sebastian Böck
Subject Re: infinite recursion detected in rules for relation "..."
Date
Msg-id 41A1B816.80107@freenet.de
Whole thread Raw
In response to Re: infinite recursion detected in rules for relation "..."  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane wrote:
> =?ISO-8859-1?Q?Sebastian_B=F6ck?= <sebastianboeck@freenet.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

pgsql-general by date:

Previous
From: David Pradier
Date:
Subject: Re: How to make a good documentation of a database ?
Next
From: Dawid Kuroczko
Date:
Subject: Re: COMMIT within function?