Query rewriting limit needs to be a little bigger or tunable - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Query rewriting limit needs to be a little bigger or tunable
Date
Msg-id 200107061639.f66GdNv33486@hub.org
Whole thread Raw
List pgsql-bugs
José María Fernández González (jmfernandez@cnb.uam.es) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Query rewriting limit needs to be a little bigger or tunable

Long Description
We are doing an extensive use of rule system, so it is usual a rule is fired from inside another rule, so today we have
reachedmax limit of rewrites. We have changed inside rewriteHandler.c file the definition of REWRITE_INVOKE_MAX to
followwith our deveolpments, and we think 15 or 20 could be a better value. Also, if this parameter could be tunable
(forexample, from postgresql.conf file) it would be fantastic. 

Sample Code


No file was uploaded with this report

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postmaster 7.1.2 hanging
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Rules with conditions over views don't work