summaryrefslogtreecommitdiff
path: root/src/include/nodes
diff options
context:
space:
mode:
authorBruce Momjian1999-02-10 03:52:54 +0000
committerBruce Momjian1999-02-10 03:52:54 +0000
commitf859c81c18669d05ac53f2c1e0163c6b804fddd5 (patch)
tree0999719e856f47a5c8d84c7a29be3a488a5b3d8a /src/include/nodes
parent318e593f03c4e8b8b52bc6792403c0a4909f3213 (diff)
Rename Path.keys to Path.pathkeys. Too many 'keys' used for other things.
Diffstat (limited to 'src/include/nodes')
-rw-r--r--src/include/nodes/print.h4
-rw-r--r--src/include/nodes/relation.h7
2 files changed, 7 insertions, 4 deletions
diff --git a/src/include/nodes/print.h b/src/include/nodes/print.h
index 0df89e2e157..643d651170f 100644
--- a/src/include/nodes/print.h
+++ b/src/include/nodes/print.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: print.h,v 1.8 1998/09/01 04:36:48 momjian Exp $
+ * $Id: print.h,v 1.9 1999/02/10 03:52:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -23,7 +23,7 @@ extern void print(void *obj);
extern void pprint(void *obj);
extern void print_rt(List *rtable);
extern void print_expr(Node *expr, List *rtable);
-extern void print_keys(List *keys, List *rtable);
+extern void print_pathkeys(List *pathkeys, List *rtable);
extern void print_tl(List *tlist, List *rtable);
extern void print_slot(TupleTableSlot *slot);
extern void print_plan_recursive(Plan *p, Query *parsetree,
diff --git a/src/include/nodes/relation.h b/src/include/nodes/relation.h
index 7df407f5671..bdf0b932037 100644
--- a/src/include/nodes/relation.h
+++ b/src/include/nodes/relation.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: relation.h,v 1.17 1999/02/09 03:51:42 momjian Exp $
+ * $Id: relation.h,v 1.18 1999/02/10 03:52:50 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -148,7 +148,10 @@ typedef struct Path
PathOrder *path_order;
- List *keys; /* this is a List of List of keys */
+ List *pathkeys; /* This is a List of List of Var nodes.
+ * It is a List of Lists because of multi-key
+ * indexes.
+ */
Cost outerjoincost;
Relid joinid;
List *loc_restrictinfo;