Query rewriting limit needs to be a little bigger or tunable

Поиск
Список
Период
Сортировка
Искать

Query rewriting limit needs to be a little bigger or tunable

От:
pgsql-bugs@postgresql.org
Дата:
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 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
FAQ