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

Function ExecMaterialRestrPos

src/backend/executor/nodeMaterial.c:412–427  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecMaterialRestrPos * * Calls tuplestore to restore the last saved file position. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

410 * ----------------------------------------------------------------
411 */
412void
413ExecMaterialRestrPos(MaterialState *node)
414{
415 Assert(node->eflags & EXEC_FLAG_MARK);
416
417 /*
418 * if we haven't materialized yet, just return.
419 */
420 if (!node->tuplestorestate)
421 return;
422
423 /*
424 * copy the mark to the active read pointer.
425 */
426 tuplestore_copy_read_pointer(node->tuplestorestate, 1, 0);
427}
428
429/*
430 * ExecChildRescan

Callers 1

ExecRestrPosFunction · 0.85

Calls 1

Tested by

no test coverage detected