Skip to content

Commit 0a77af6

Browse files
committed
Backpatch backwards-index-scan fix.
1 parent da10176 commit 0a77af6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/optimizer/path/indxpath.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.83 2000/04/16 04:41:01 tgl Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.83.2.1 2000/07/13 05:52:18 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -196,7 +196,7 @@ create_index_paths(Query *root,
196196
useful_for_ordering(root, rel, index, ForwardScanDirection))
197197
add_path(rel, (Path *)
198198
create_index_path(root, rel, index,
199-
NIL,
199+
restrictclauses,
200200
ForwardScanDirection));
201201
}
202202

@@ -208,7 +208,7 @@ create_index_paths(Query *root,
208208
if (useful_for_ordering(root, rel, index, BackwardScanDirection))
209209
add_path(rel, (Path *)
210210
create_index_path(root, rel, index,
211-
NIL,
211+
restrictclauses,
212212
BackwardScanDirection));
213213

214214
/*

0 commit comments

Comments
 (0)