---------------------------------------------------------------- * ExecShutdownGatherMerge * * Destroy the setup for parallel workers including parallel context. * ---------------------------------------------------------------- */
| 302 | * ---------------------------------------------------------------- |
| 303 | */ |
| 304 | void |
| 305 | ExecShutdownGatherMerge(GatherMergeState *node) |
| 306 | { |
| 307 | ExecShutdownGatherMergeWorkers(node); |
| 308 | |
| 309 | /* Now destroy the parallel context. */ |
| 310 | if (node->pei != NULL) |
| 311 | { |
| 312 | ExecParallelCleanup(node->pei); |
| 313 | node->pei = NULL; |
| 314 | } |
| 315 | } |
| 316 | |
| 317 | /* ---------------------------------------------------------------- |
| 318 | * ExecShutdownGatherMergeWorkers |
no test coverage detected