摘要: 接着,分析:/*-------------------- * subquery_planner * Invokes the planner on a subquery. We recurse to here for each * sub-SELECT found in the query tree. * * glob is the global state for the current planner run. * parse is the querytree produced by the parser & rewriter. * parent_root is the... 阅读全文
posted @ 2013-06-04 17:00 健哥的数据花园 阅读(472) 评论(0) 推荐(0) 编辑
摘要: 再次上溯:/*-------------------- * subquery_planner * Invokes the planner on a subquery. We recurse to here for each * sub-SELECT found in the query tree. * * glob is the global state for the current planner run. * parse is the querytree produced by the parser & rewriter. * parent_root is the ... 阅读全文
posted @ 2013-06-04 13:38 健哥的数据花园 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 接前面,再上溯:set_base_rel_pathlists -->set_rel_pathlist/* * set_base_rel_pathlists * Finds all paths available for scanning each base-relation entry. * Sequential scan and any available indices are considered. * Each useful path is attached to its relation's 'pathlist' field. */static void 阅读全文
posted @ 2013-06-04 09:19 健哥的数据花园 阅读(435) 评论(0) 推荐(0) 编辑