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

Function ExecReScanTidScan

src/backend/executor/nodeTidscan.c:446–460  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecReScanTidScan(node) * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

444 * ----------------------------------------------------------------
445 */
446void
447ExecReScanTidScan(TidScanState *node)
448{
449 if (node->tss_TidList)
450 pfree(node->tss_TidList);
451 node->tss_TidList = NULL;
452 node->tss_NumTids = 0;
453 node->tss_TidPtr = -1;
454
455 /* not really necessary, but seems good form */
456 if (node->ss.ss_currentScanDesc)
457 table_rescan(node->ss.ss_currentScanDesc, NULL);
458
459 ExecScanReScan(&node->ss);
460}
461
462/* ----------------------------------------------------------------
463 * ExecEndTidScan

Callers 1

ExecReScanFunction · 0.85

Calls 3

table_rescanFunction · 0.85
ExecScanReScanFunction · 0.85
pfreeFunction · 0.50

Tested by

no test coverage detected