summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2000-07-13 05:52:18 +0000
committerTom Lane2000-07-13 05:52:18 +0000
commit0a77af6727d5e474d692509664ca0094bffc101c (patch)
tree63fd5f91fd807e7095ca2bbfa070c912abd4af9c
parentda1017659af283d1629011afc7b87f8a777c923d (diff)
Backpatch backwards-index-scan fix.
-rw-r--r--src/backend/optimizer/path/indxpath.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/optimizer/path/indxpath.c b/src/backend/optimizer/path/indxpath.c
index 06f9cd0247f..e6281fd714e 100644
--- a/src/backend/optimizer/path/indxpath.c
+++ b/src/backend/optimizer/path/indxpath.c
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.83 2000/04/16 04:41:01 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.83.2.1 2000/07/13 05:52:18 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -196,7 +196,7 @@ create_index_paths(Query *root,
useful_for_ordering(root, rel, index, ForwardScanDirection))
add_path(rel, (Path *)
create_index_path(root, rel, index,
- NIL,
+ restrictclauses,
ForwardScanDirection));
}
@@ -208,7 +208,7 @@ create_index_paths(Query *root,
if (useful_for_ordering(root, rel, index, BackwardScanDirection))
add_path(rel, (Path *)
create_index_path(root, rel, index,
- NIL,
+ restrictclauses,
BackwardScanDirection));
/*