Bugfix - Range table entries that are unused after rewriting should
authorJan Wieck <JanWieck@Yahoo.com>
Tue, 25 May 1999 13:16:10 +0000 (13:16 +0000)
committerJan Wieck <JanWieck@Yahoo.com>
Tue, 25 May 1999 13:16:10 +0000 (13:16 +0000)
commita4ad451a872807c38a8234e072f932144821fb54
tree68904d29429f4c3edf07568e24e6a9c23fbeedc6
parent2b463de2bac6b2eb9b4f61a74222c00aca2810e9
Bugfix - Range table entries that are unused after rewriting should
not be marked inFromCl any longer. Otherwise the planner gets confused
and joins over them where in fact it does not have to.

Adjust hasSubLinks now with a recursive lookup - could be wrong in
multi action rules because parse state isn't reset correctly and all
actions in the rule are marked hasSubLinks if one of them has.

Jan
src/backend/rewrite/rewriteHandler.c