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

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

=?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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Baldeep Hira 2004-11-20 18:15:46 Re: Error dropping non-existent tables
Previous Message Joshua D. Drake 2004-11-20 17:05:10 Re: phpPgAdmin problem - this list?