From 78114cd4d4fd99feb0c753de34d358b16d1ff0ee Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 22 Aug 1999 20:15:04 +0000 Subject: Further planner/optimizer cleanups. Move all set_tlist_references and fix_opids processing to a single recursive pass over the plan tree executed at the very tail end of planning, rather than haphazardly here and there at different places. Now that tlist Vars do not get modified until the very end, it's possible to get rid of the klugy var_equal and match_varid partial-matching routines, and just use plain equal() throughout the optimizer. This is a step towards allowing merge and hash joins to be done on expressions instead of only Vars ... --- src/backend/executor/nodeAgg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/backend/executor/nodeAgg.c') diff --git a/src/backend/executor/nodeAgg.c b/src/backend/executor/nodeAgg.c index b600c0e3a8f..2936694f679 100644 --- a/src/backend/executor/nodeAgg.c +++ b/src/backend/executor/nodeAgg.c @@ -23,7 +23,6 @@ #include "executor/executor.h" #include "executor/nodeAgg.h" #include "optimizer/clauses.h" -#include "optimizer/planmain.h" #include "parser/parse_type.h" #include "utils/syscache.h" @@ -443,7 +442,7 @@ ExecAgg(Agg *node) * qualifications it is ignored and the next group is fetched */ if (node->plan.qual != NULL) - qual_result = ExecQual(fix_opids(node->plan.qual), econtext); + qual_result = ExecQual(node->plan.qual, econtext); else qual_result = false; -- cgit v1.2.3