diff options
Diffstat (limited to 'src/include/nodes/execnodes.h')
-rw-r--r-- | src/include/nodes/execnodes.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index 4ae2f3e067b..b6895f94c39 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -1951,6 +1951,22 @@ typedef struct UniqueState } UniqueState; /* ---------------- + * GatherState information + * + * Gather nodes launch 1 or more parallel workers, run a subplan + * in those workers, and collect the results. + * ---------------- + */ +typedef struct GatherState +{ + PlanState ps; /* its first field is NodeTag */ + struct ParallelExecutorInfo *pei; + struct TupleQueueFunnel *funnel; + bool need_to_scan_workers; + bool need_to_scan_locally; +} GatherState; + +/* ---------------- * HashState information * ---------------- */ |