---------------------------------------------------------------- * ExecIndexOnlyScan(node) * ---------------------------------------------------------------- */
| 303 | * ---------------------------------------------------------------- |
| 304 | */ |
| 305 | static TupleTableSlot * |
| 306 | ExecIndexOnlyScan(PlanState *pstate) |
| 307 | { |
| 308 | IndexOnlyScanState *node = castNode(IndexOnlyScanState, pstate); |
| 309 | |
| 310 | /* |
| 311 | * If we have runtime keys and they've not already been set up, do it now. |
| 312 | */ |
| 313 | if (node->ioss_NumRuntimeKeys != 0 && !node->ioss_RuntimeKeysReady) |
| 314 | ExecReScan((PlanState *) node); |
| 315 | |
| 316 | return ExecScan(&node->ss, |
| 317 | (ExecScanAccessMtd) IndexOnlyNext, |
| 318 | (ExecScanRecheckMtd) IndexOnlyRecheck); |
| 319 | } |
| 320 | |
| 321 | /* ---------------------------------------------------------------- |
| 322 | * ExecReScanIndexOnlyScan(node) |
nothing calls this directly
no test coverage detected