---------------------------------------------------------------- * ExecEndWorkTableScan * * frees any storage allocated through C routines. * ---------------------------------------------------------------- */
| 191 | * ---------------------------------------------------------------- |
| 192 | */ |
| 193 | void |
| 194 | ExecEndWorkTableScan(WorkTableScanState *node) |
| 195 | { |
| 196 | /* |
| 197 | * Free exprcontext |
| 198 | */ |
| 199 | ExecFreeExprContext(&node->ss.ps); |
| 200 | |
| 201 | /* |
| 202 | * clean out the tuple table |
| 203 | */ |
| 204 | if (node->ss.ps.ps_ResultTupleSlot) |
| 205 | ExecClearTuple(node->ss.ps.ps_ResultTupleSlot); |
| 206 | ExecClearTuple(node->ss.ss_ScanTupleSlot); |
| 207 | } |
| 208 | |
| 209 | /* ---------------------------------------------------------------- |
| 210 | * ExecReScanWorkTableScan |
no test coverage detected