---------------------------------------------------------------- * ExecEndAppend * * Shuts down the subscans of the append node. * * Returns nothing of interest. * ---------------------------------------------------------------- */
| 396 | * ---------------------------------------------------------------- |
| 397 | */ |
| 398 | void |
| 399 | ExecEndAppend(AppendState *node) |
| 400 | { |
| 401 | PlanState **appendplans; |
| 402 | int nplans; |
| 403 | int i; |
| 404 | |
| 405 | /* |
| 406 | * get information from the node |
| 407 | */ |
| 408 | appendplans = node->appendplans; |
| 409 | nplans = node->as_nplans; |
| 410 | |
| 411 | /* |
| 412 | * shut down each of the subscans |
| 413 | */ |
| 414 | for (i = nplans-1; i >= 0; --i) |
| 415 | { |
| 416 | if (appendplans[i]) |
| 417 | ExecEndNode(appendplans[i]); |
| 418 | } |
| 419 | } |
| 420 | |
| 421 | void |
| 422 | ExecReScanAppend(AppendState *node) |
no test coverage detected