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

Commit9155b4b

Browse files
committed
Do no reset bounded before incremental sort rescan
ExecReScanIncrementalSort was resetting bounded=false, which means theoptimization would be disabled on all rescans. This happens becauseExecSetTupleBound is called before the rescan, not after it.Author: James ColemanReviewed-by: Tomas VondraDiscussion:https://postgr.es/m/20200414065336.GI1492@paquier.xyz
1 parentc442722 commit9155b4b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎src/backend/executor/nodeIncrementalSort.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,6 @@ ExecReScanIncrementalSort(IncrementalSortState *node)
11421142
if (node->transfer_tuple!=NULL)
11431143
ExecClearTuple(node->transfer_tuple);
11441144

1145-
node->bounded= false;
11461145
node->outerNodeDone= false;
11471146
node->n_fullsort_remaining=0;
11481147
node->bound_Done=0;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp