Skip to content

Commit da1ad32

Browse files
committed
Update comments.
1 parent b9e6f06 commit da1ad32

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/backend/optimizer/path/indxpath.c

Lines changed: 6 additions & 4 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.87 2000/07/13 05:47:29 tgl Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.88 2000/07/25 04:30:42 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -461,9 +461,11 @@ extract_or_indexqual_conditions(RelOptInfo *rel,
461461
* Returns a list of all the RestrictInfo nodes for clauses that can be
462462
* used with this index.
463463
*
464-
* The list is ordered by index key (but as far as I can tell, this is
465-
* an implementation artifact of this routine, and is not depended on by
466-
* any user of the returned list --- tgl 7/99).
464+
* The list is ordered by index key. (This is not depended on by any part
465+
* of the planner, as far as I can tell; but some parts of the executor
466+
* do assume that the indxqual list ultimately delivered to the executor
467+
* is so ordered. One such place is _bt_orderkeys() in the btree support.
468+
* Perhaps that ought to be fixed someday --- tgl 7/00)
467469
*
468470
* Note that in a multi-key index, we stop if we find a key that cannot be
469471
* used with any clause. For example, given an index on (A,B,C), we might

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy