Clean up out/readfuncs.c
- Don't write Path->parent, to avoid infinite recursion, and revert the GPDB changes in outPlannerInfo that were previously used to avoid it. There's no need to differ from upstream in this area, so let's not. - Add missing window_pathkeys handling from outPlannerInfo. Was missed in a merge, I guess. No reason to differ from upstream. - Remove out/readfast support for Paths and other structs that are only used within the planner, and not needed in segments. - Don't serialize Flow->hashExprs. It's also not needed in segments, and it might contain PlaceHolderVars because it's not processed by set_plan_references() The infinite recursion issue was spotted by Melanie and Deep. Reviewed-by: NGeorgios Kokolatos <gkokolatos@pivotal.io> Reviewed-by: NSoumyadeep Chakraborty <sochakraborty@pivotal.io>
Showing
想要评论请 注册 或 登录