提交 ad1b0617 编写于 作者: H Heikki Linnakangas

Remove obsolete TODO comment.

It was added back in 2009. Seems quite clear at this point that we're not
going to change how this works.
上级 068f0d53
......@@ -499,27 +499,6 @@ make_agg_subplan(PlannerInfo *root, MinMaxAggInfo *info)
subparse->havingQual = NULL;
subparse->distinctClause = NIL;
subroot.hasHavingQual = false;
/* TODO Should we also generate a "temporary" root as in,
* e.g., inheritance planning?
*
* Generate modified query with this rel as target. We have to be
* prepared to translate varnos in in_info_list as well as in the
* Query proper.
*
memcpy(&subroot, root, sizeof(PlannerInfo));
subroot.parse = (Query *)
adjust_appendrel_attrs((Node *) parse,
appinfo);
subroot.in_info_list = (List *)
adjust_appendrel_attrs((Node *) root->in_info_list,
appinfo);
// There shouldn't be any OJ info to translate, as yet
Assert(subroot.oj_info_list == NIL);
subroot->resultRelations = NIL;
subroot->returningLists = NIL;
*/
/* single tlist entry that is the aggregate target */
tle = makeTargetEntry(copyObject(info->target),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册