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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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