MCPcopy Create free account
hub / github.com/apache/cloudberry / ExecSortMarkPos

Function ExecSortMarkPos

src/backend/executor/nodeSort.c:354–364  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecSortMarkPos * * Calls tuplesort to save the current position in the sorted file. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

352 * ----------------------------------------------------------------
353 */
354void
355ExecSortMarkPos(SortState *node)
356{
357 /*
358 * if we haven't sorted yet, just return
359 */
360 if (!node->sort_Done)
361 return;
362
363 tuplesort_markpos((Tuplesortstate *) node->tuplesortstate);
364}
365
366/* ----------------------------------------------------------------
367 * ExecSortRestrPos

Callers 1

ExecMarkPosFunction · 0.85

Calls 1

tuplesort_markposFunction · 0.85

Tested by

no test coverage detected