Skip site navigation (1) Skip section navigation (2)

Query rewriting limit needs to be a little bigger or tunable

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Query rewriting limit needs to be a little bigger or tunable
Date: 2001-07-06 16:39:23
Message-ID: 200107061639.f66GdNv33486@hub.org (view raw or flat)
Thread:
Lists: pgsql-bugs
Jos Mara Fernndez Gonzlez (jmfernandez(at)cnb(dot)uam(dot)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 reached max limit of rewrites. We have changed inside rewriteHandler.c file the definition of REWRITE_INVOKE_MAX to follow with our deveolpments, and we think 15 or 20 could be a better value. Also, if this parameter could be tunable (for example, from postgresql.conf file) it would be fantastic.

Sample Code


No file was uploaded with this report


pgsql-bugs by date

Next:From: pgsql-bugsDate: 2001-07-06 16:59:53
Subject: Rules with conditions over views don't work
Previous:From: pgsql-bugsDate: 2001-07-06 16:14:00
Subject: small ODBC problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group