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 ... --- doc/src/sgml/arch-dev.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/arch-dev.sgml b/doc/src/sgml/arch-dev.sgml index 7d867c45cae..93f53c51555 100644 --- a/doc/src/sgml/arch-dev.sgml +++ b/doc/src/sgml/arch-dev.sgml @@ -2475,7 +2475,7 @@ having clause} is found. + if(node->plan.qual != NULL) + { + qual_result = -+ ExecQual(fix_opids(node->plan.qual), ++ ExecQual(node->plan.qual, + econtext); + } + if (oneTuple) pfree(oneTuple); -- cgit v1.2.3