------------------------------------------------------------------ * ExecReScanShareInputScan * ------------------------------------------------------------------ */
| 600 | * ------------------------------------------------------------------ |
| 601 | */ |
| 602 | void |
| 603 | ExecReScanShareInputScan(ShareInputScanState *node) |
| 604 | { |
| 605 | /* On first call, initialize the tuplestore state */ |
| 606 | if (!node->isready) |
| 607 | init_tuplestore_state(node); |
| 608 | |
| 609 | ExecClearTuple(node->ss.ps.ps_ResultTupleSlot); |
| 610 | Assert(node->ts_pos != -1); |
| 611 | |
| 612 | tuplestore_select_read_pointer(node->ts_state, node->ts_pos); |
| 613 | tuplestore_rescan(node->ts_state); |
| 614 | } |
| 615 | |
| 616 | /* |
| 617 | * This is called when the node above us has finished and will not need any more |
no test coverage detected