/* ---------------------------------------------------------------- * ExecSortMarkPos * * Calls tuplesort to save the current position in the sorted file. * ---------------------------------------------------------------- */ void ExecSortMarkPos(SortState *node) { /* * if we haven't sorted yet, just return */ if (!node->sort_Done) return; tuplesort_markpos((Tuplesortstate *) node->tuplesortstate); }
/* ---------------------------------------------------------------- * ExecSortMarkPos * * Calls tuplesort to save the current position in the sorted file. * ---------------------------------------------------------------- */ void ExecSortMarkPos(SortState *node) { /* * if we haven't sorted yet, just return */ if (!node->sort_Done) return; if(gp_enable_mk_sort) { tuplesort_markpos_mk(node->tuplesortstate->sortstore_mk); } else { tuplesort_markpos(node->tuplesortstate->sortstore); } }