---------------------------------------------------------------- * ExecEndTidRangeScan * * Releases any storage allocated through C routines. * Returns nothing. * ---------------------------------------------------------------- */
| 320 | * ---------------------------------------------------------------- |
| 321 | */ |
| 322 | void |
| 323 | ExecEndTidRangeScan(TidRangeScanState *node) |
| 324 | { |
| 325 | TableScanDesc scan = node->ss.ss_currentScanDesc; |
| 326 | |
| 327 | if (scan != NULL) |
| 328 | table_endscan(scan); |
| 329 | |
| 330 | /* |
| 331 | * Free the exprcontext |
| 332 | */ |
| 333 | ExecFreeExprContext(&node->ss.ps); |
| 334 | |
| 335 | /* |
| 336 | * clear out tuple table slots |
| 337 | */ |
| 338 | if (node->ss.ps.ps_ResultTupleSlot) |
| 339 | ExecClearTuple(node->ss.ps.ps_ResultTupleSlot); |
| 340 | ExecClearTuple(node->ss.ss_ScanTupleSlot); |
| 341 | } |
| 342 | |
| 343 | /* ---------------------------------------------------------------- |
| 344 | * ExecInitTidRangeScan |
no test coverage detected