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)
commitb122e16a1c5030562e4a20f69e7fa2c08cc02658
tree184c3d3689eb97d2c429e51ee462094851ca8ad3
parentf4fadbe4db38d479ac7f2fd7195dcaca5fce33d6
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