---------------------------------------------------------------- * ExecShutdownGather * * Destroy the setup for parallel workers including parallel context. * ---------------------------------------------------------------- */
| 416 | * ---------------------------------------------------------------- |
| 417 | */ |
| 418 | void |
| 419 | ExecShutdownGather(GatherState *node) |
| 420 | { |
| 421 | ExecShutdownGatherWorkers(node); |
| 422 | |
| 423 | /* Now destroy the parallel context. */ |
| 424 | if (node->pei != NULL) |
| 425 | { |
| 426 | ExecParallelCleanup(node->pei); |
| 427 | node->pei = NULL; |
| 428 | } |
| 429 | } |
| 430 | |
| 431 | /* ---------------------------------------------------------------- |
| 432 | * Join Support |
no test coverage detected