Fix SubPlan handling in adjust_appendrel_attrs().
The old coding failed to apply the mutator to the children of a SubPlan. While at it, try to explain in the comment *why* SubPlans need special treatment in GPDB, while they don't in PostgreSQL. I'm not 100% I got the reasoning correct, since I'm basically just reverse-engineering the original thinking here. But seems plausible.. Fixes github issue #368.
Showing
想要评论请 注册 或 登录