Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit161be69

Browse files
committed
Update comments for create_indexscan_node().
1 parent12c51d9 commit161be69

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

‎src/backend/optimizer/plan/createplan.c

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.65 1999/07/29 02:48:05 tgl Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.66 1999/07/30 00:44:23 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -296,10 +296,13 @@ create_seqscan_node(Path *best_path, List *tlist, List *scan_clauses)
296296
* Returns a indexscan node for the base relation scanned by 'best_path'
297297
* with restriction clauses 'scan_clauses' and targetlist 'tlist'.
298298
*
299-
* If an 'or' clause is to be used with this index, the indxqual field
300-
* will contain a list of the 'or' clause arguments, e.g., the
301-
* clause(OR a b c) will generate: ((a) (b) (c)). Otherwise, the
302-
* indxqual will simply contain one conjunctive qualification: ((a)).
299+
* The indexqual of the path contains a sublist of implicitly-ANDed qual
300+
* conditions for each scan of the index(es); if there is more than one
301+
* scan then the retrieved tuple sets are ORed together. The indexqual
302+
* and indexid lists must have the same length, ie, the number of scans
303+
* that will occur. Note it is possible for a qual condition sublist
304+
* to be empty --- then no index restrictions will be applied during that
305+
* scan.
303306
*/
304307
staticIndexScan*
305308
create_indexscan_node(IndexPath*best_path,
@@ -316,7 +319,7 @@ create_indexscan_node(IndexPath *best_path,
316319
/* there should be exactly one base rel involved... */
317320
Assert(length(best_path->path.parent->relids)==1);
318321

319-
/* check and see if any indices are lossy */
322+
/* check and see if anyof theindices are lossy */
320323
foreach(ixid,best_path->indexid)
321324
{
322325
HeapTupleindexTuple;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp