Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c06caa0 commit 2673ebfCopy full SHA for 2673ebf
src/backend/utils/sort/tuplesort.c
@@ -1439,13 +1439,13 @@ tuplesort_performsort(Tuplesortstate *state)
1439
* We were able to accumulate all the tuples required for output
1440
* in memory, using a heap to eliminate excess tuples. Now we
1441
* have to transform the heap to a properly-sorted array.
1442
+ * Note that sort_bounded_heap sets the correct state->status.
1443
*/
1444
sort_bounded_heap(state);
1445
state->current = 0;
1446
state->eof_reached = false;
1447
state->markpos_offset = 0;
1448
state->markpos_eof = false;
- state->status = TSS_SORTEDINMEM;
1449
break;
1450
1451
case TSS_BUILDRUNS:
0 commit comments