aboutsummaryrefslogtreecommitdiff
path: root/src/include/nodes/makefuncs.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-08-22 20:15:04 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-08-22 20:15:04 +0000
commit78114cd4d4fd99feb0c753de34d358b16d1ff0ee (patch)
tree58838858badf427beddaafe425a9def510741d37 /src/include/nodes/makefuncs.h
parentdb436adf761bd5cb7990745ceba2959ac4bfca7c (diff)
downloadpostgresql-78114cd4d4fd99feb0c753de34d358b16d1ff0ee.tar.gz
postgresql-78114cd4d4fd99feb0c753de34d358b16d1ff0ee.zip
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 ...
Diffstat (limited to 'src/include/nodes/makefuncs.h')
-rw-r--r--src/include/nodes/makefuncs.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/nodes/makefuncs.h b/src/include/nodes/makefuncs.h
index 6a387fd5c5c..1aaead722d8 100644
--- a/src/include/nodes/makefuncs.h
+++ b/src/include/nodes/makefuncs.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: makefuncs.h,v 1.20 1999/07/15 23:03:52 momjian Exp $
+ * $Id: makefuncs.h,v 1.21 1999/08/22 20:15:00 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -25,9 +25,7 @@ extern Var *makeVar(Index varno,
AttrNumber varattno,
Oid vartype,
int32 vartypmod,
- Index varlevelsup,
- Index varnoold,
- AttrNumber varoattno);
+ Index varlevelsup);
extern TargetEntry *makeTargetEntry(Resdom *resdom, Node *expr);