diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-09-21 15:41:28 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-09-21 15:41:28 +0000 |
commit | 748e3003176c94d5db2174e959b46f7745d806a7 (patch) | |
tree | 2afa77055d92ab055557121b5b2803847a843cc0 /src/backend/optimizer/path/indxpath.c | |
parent | 06b8c8a8b8962ec9fa6116d150f6abb967be3247 (diff) | |
download | postgresql-748e3003176c94d5db2174e959b46f7745d806a7.tar.gz postgresql-748e3003176c94d5db2174e959b46f7745d806a7.zip |
Fix for AND/OR handling.
Diffstat (limited to 'src/backend/optimizer/path/indxpath.c')
-rw-r--r-- | src/backend/optimizer/path/indxpath.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/backend/optimizer/path/indxpath.c b/src/backend/optimizer/path/indxpath.c index 24f46ec9331..3d505c87c00 100644 --- a/src/backend/optimizer/path/indxpath.c +++ b/src/backend/optimizer/path/indxpath.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.34 1998/09/01 04:29:33 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.35 1998/09/21 15:41:26 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -1293,8 +1293,13 @@ index_innerjoin(Query *root, RelOptInfo * rel, List *clausegroup_list, length(clausegroup), &temp_pages, &temp_selec); + pathnode->path.pathtype = T_IndexScan; pathnode->path.parent = rel; + pathnode->path.p_ordering.ordtype = SORTOP_ORDER; + pathnode->path.p_ordering.ord.sortop = index->ordering; + pathnode->path.keys = NIL; /* not sure about this, bjm 1998/09/21 */ + pathnode->indexid = index->relids; pathnode->indexkeys = index->indexkeys; pathnode->indexqual = clausegroup; |