提交 4d29b4a7 编写于 作者: D Daniel Gustafsson

Error out when an N-way join cannot be found

Following the change in 8fcd3fdd
to cost-based enable GUCs, failing to find a way to construct an
N-way join should be an error rather than debug (as in upstream).
Reported-by: NHeikki Linnakangas <hlinnakangas@pivotal.io>
上级 8e1776d0
......@@ -234,7 +234,7 @@ join_search_one_level(PlannerInfo *root, int level)
*----------
*/
if (joinrels[level] == NIL && root->join_info_list == NIL)
elog(DEBUG1, "failed to build any %d-way joins", level);
elog(ERROR, "failed to build any %d-way joins", level);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册