summaryrefslogtreecommitdiff
path: root/src/backend/optimizer/util/pathnode.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-03-18 18:41:37 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-03-18 18:41:37 +0000
commitd1463050658950afd25ef2457182a498b6b3a6b4 (patch)
tree76ad055d2f01e42f7b3ec88f6ec5f788dee67143 /src/backend/optimizer/util/pathnode.c
parentc3d637ac3a79fa899cccada4c4ce185697245015 (diff)
downloadpostgresql-d1463050658950afd25ef2457182a498b6b3a6b4.tar.gz
Patches for Vadim's multikey indexing...
Diffstat (limited to 'src/backend/optimizer/util/pathnode.c')
-rw-r--r--src/backend/optimizer/util/pathnode.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c
index 728ac9b422..3362367dac 100644
--- a/src/backend/optimizer/util/pathnode.c
+++ b/src/backend/optimizer/util/pathnode.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/util/pathnode.c,v 1.1.1.1 1996/07/09 06:21:38 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/util/pathnode.c,v 1.2 1997/03/18 18:40:40 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -248,10 +248,11 @@ create_index_path(Query *root,
pathnode->path.pathtype = T_IndexScan;
pathnode->path.parent = rel;
- pathnode->indexid = index->relids;
-
pathnode->path.p_ordering.ordtype = SORTOP_ORDER;
pathnode->path.p_ordering.ord.sortop = index->ordering;
+
+ pathnode->indexid = index->relids;
+ pathnode->indexkeys = index->indexkeys;
pathnode->indexqual = NIL;
/* copy clauseinfo list into path for expensive function processing