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

Commit79228c0

Browse files
committed
Fix thinkos in comments
The first one was noticed by Tender Wang and introduced with8aba932; the other one was newly introduced withdbca346.
1 parent187b899 commit79228c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/executor/execPartition.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,7 +1863,7 @@ CreatePartitionPruneState(PlanState *planstate, PartitionPruneInfo *pruneinfo)
18631863
inti;
18641864
ExprContext*econtext=planstate->ps_ExprContext;
18651865

1866-
/* For data reading, executor alwaysomits detached partitions */
1866+
/* For data reading, executor alwaysincludes detached partitions */
18671867
if (estate->es_partition_directory==NULL)
18681868
estate->es_partition_directory=
18691869
CreatePartitionDirectory(estate->es_query_cxt, false);
@@ -1946,8 +1946,8 @@ CreatePartitionPruneState(PlanState *planstate, PartitionPruneInfo *pruneinfo)
19461946
* this by creating new subplan_map and subpart_map arrays that
19471947
* corresponds to the ones in the PruneInfo where the new
19481948
* partition descriptor's OIDs match. Any that don't match can be
1949-
* set to -1, as if they were pruned.Both arrays must be in
1950-
*numerical OID order.
1949+
* set to -1, as if they were pruned.By construction, both
1950+
*arrays are in partition bounds order.
19511951
*/
19521952
pprune->nparts=partdesc->nparts;
19531953
pprune->subplan_map=palloc(sizeof(int)*partdesc->nparts);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp