diff options
| author | Bruce Momjian | 1999-02-09 03:51:42 +0000 |
|---|---|---|
| committer | Bruce Momjian | 1999-02-09 03:51:42 +0000 |
| commit | fe35ffe7e01a3607a3542bf1c638e7d4457fc4c9 (patch) | |
| tree | 5bbb9d49a4089c493d54edddc1c062a34b2e4581 /src/include | |
| parent | be948af2e81d44290a15a0b8614fdd209924f698 (diff) | |
Major optimizer improvement for joining a large number of tables.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/nodes/nodes.h | 3 | ||||
| -rw-r--r-- | src/include/nodes/relation.h | 8 |
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; |
