/* ---------------------------------------------------------------- * ExecIndexRestrPos * ---------------------------------------------------------------- */ void ExecIndexRestrPos(IndexScanState *node) { index_restrpos(node->iss_ScanDesc); Gpmon_M_Incr(GpmonPktFromIndexScanState(node), GPMON_INDEXSCAN_RESTOREPOS); CheckSendPlanStateGpmonPkt(&node->ss.ps); }
/* ---------------------------------------------------------------- * ExecIndexOnlyRestrPos * ---------------------------------------------------------------- */ void ExecIndexOnlyRestrPos(IndexOnlyScanState *node) { EState *estate = node->ss.ps.state; if (estate->es_epqTuple != NULL) { /* See comments in ExecIndexOnlyMarkPos */ Index scanrelid = ((Scan *) node->ss.ps.plan)->scanrelid; Assert(scanrelid > 0); if (estate->es_epqTupleSet[scanrelid - 1]) { /* Verify the claim above */ if (!estate->es_epqScanDone[scanrelid - 1]) elog(ERROR, "unexpected ExecIndexOnlyRestrPos call in EPQ recheck"); return; } } index_restrpos(node->ioss_ScanDesc); }
/* ---------------------------------------------------------------- * ExecIndexRestrPos * ---------------------------------------------------------------- */ void ExecIndexRestrPos(IndexScanState *node) { index_restrpos(node->iss_ScanDesc); }
/* ---------------------------------------------------------------- * ExecIndexOnlyRestrPos * ---------------------------------------------------------------- */ void ExecIndexOnlyRestrPos(IndexOnlyScanState *node) { index_restrpos(node->ioss_ScanDesc); }
/* ---------------------------------------------------------------- * ExecIndexRestrPos * ---------------------------------------------------------------- */ void ExecIndexRestrPos(index_ss *node) { index_restrpos(node->iss_ScanDesc); }