aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/nodes/nodes.h3
-rw-r--r--src/include/nodes/relation.h8
2 files changed, 7 insertions, 4 deletions
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h
index 2635f1d7603..4ce89d0e4e8 100644
--- a/src/include/nodes/nodes.h
+++ b/src/include/nodes/nodes.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: nodes.h,v 1.39 1999/02/06 16:50:31 wieck Exp $
+ * $Id: nodes.h,v 1.40 1999/02/09 03:51:41 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -71,6 +71,7 @@ typedef enum NodeTag
*---------------------
*/
T_RelOptInfo = 200,
+ T_PathOrder,
T_Path,
T_IndexPath,
T_JoinPath,
diff --git a/src/include/nodes/relation.h b/src/include/nodes/relation.h
index aaee1637cf3..7df407f5671 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.16 1999/02/08 04:29:25 momjian Exp $
+ * $Id: relation.h,v 1.17 1999/02/09 03:51:42 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -127,6 +127,8 @@ typedef enum OrderType
typedef struct PathOrder
{
+ NodeTag type;
+
OrderType ordtype;
union
{
@@ -144,9 +146,9 @@ typedef struct Path
NodeTag pathtype;
- PathOrder path_order;
+ PathOrder *path_order;
- List *keys;
+ List *keys; /* this is a List of List of keys */
Cost outerjoincost;
Relid joinid;
List *loc_restrictinfo;