]> granicus.if.org Git - postgresql/commit
Remove REWRITE_INVOKE_MAX in favor of making an accurate check for
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Feb 2003 23:47:43 +0000 (23:47 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Feb 2003 23:47:43 +0000 (23:47 +0000)
commit84666801ed0e787e8b373c6eee18553b27aa574c
treefcf720be24fa20e4089d7658471a27a450adced9
parentaedd189a5c78f2551631871df4321d0c33b614d5
Remove REWRITE_INVOKE_MAX in favor of making an accurate check for
recursion in RewriteQuery(); also, detect recursion in fireRIRrules(),
so as to catch self-referential views per example from Ryan VanderBijl.
Minor code restructuring to make it easier to catch recursive case.
src/backend/rewrite/rewriteHandler.c