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

Commit73235a1

Browse files
committed
Improve some comments.
1 parentfd89de5 commit73235a1

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

‎src/include/nodes/relation.h

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: relation.h,v 1.69 2002/11/24 21:52:15 tgl Exp $
10+
* $Id: relation.h,v 1.70 2002/11/27 20:52:04 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -171,7 +171,7 @@ typedef struct RelOptInfo
171171
RelOptKindreloptkind;
172172

173173
/* all relations included in this RelOptInfo */
174-
Relidsrelids;/* integer list of base relids (RT
174+
Relidsrelids;/* integer list of base relids (rangetable
175175
* indexes) */
176176

177177
/* size estimates generated by planner */
@@ -304,6 +304,11 @@ typedef struct PathKeyItem
304304
/*
305305
* Type "Path" is used as-is for sequential-scan paths. For other
306306
* path types it is the first component of a larger struct.
307+
*
308+
* Note: "pathtype" is the NodeTag of the Plan node we could build from this
309+
* Path. It is partially redundant with the Path's NodeTag, but allows us
310+
* to use the same Path type for multiple Plan types where there is no need
311+
* to distinguish the Plan type during path processing.
307312
*/
308313

309314
typedefstructPath
@@ -319,7 +324,6 @@ typedef struct Path
319324
* fetched) */
320325

321326
NodeTagpathtype;/* tag identifying scan/join method */
322-
/* XXX why is pathtype separate from the NodeTag? */
323327

324328
List*pathkeys;/* sort ordering of path's output */
325329
/* pathkeys is a List of Lists of PathKeyItem nodes; see above */
@@ -373,7 +377,7 @@ typedef struct IndexPath
373377
typedefstructTidPath
374378
{
375379
Pathpath;
376-
List*tideval;
380+
List*tideval;/* qual(s) involving CTID = something */
377381
Relidsunjoined_relids;/* some rels not yet part of my Path */
378382
}TidPath;
379383

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp