aboutsummaryrefslogtreecommitdiff
path: root/src/include/executor/execParallel.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-12-19 16:47:15 -0500
committerRobert Haas <rhaas@postgresql.org>2016-12-19 17:11:46 -0500
commite13029a5ce353574516c64fd1ec9c50201e705fd (patch)
tree529cb354f9f3a41fe0678d2733cf303ed62030df /src/include/executor/execParallel.h
parent2604438472c897fbbd1568b1a8ee177ba8cdb6e3 (diff)
downloadpostgresql-e13029a5ce353574516c64fd1ec9c50201e705fd.tar.gz
postgresql-e13029a5ce353574516c64fd1ec9c50201e705fd.zip
Provide a DSA area for all parallel queries.
This will allow future parallel query code to dynamically allocate storage shared by all participants. Thomas Munro, with assorted changes by me.
Diffstat (limited to 'src/include/executor/execParallel.h')
-rw-r--r--src/include/executor/execParallel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/executor/execParallel.h b/src/include/executor/execParallel.h
index f4c6d37a119..4bbee691a7f 100644
--- a/src/include/executor/execParallel.h
+++ b/src/include/executor/execParallel.h
@@ -17,6 +17,7 @@
#include "nodes/execnodes.h"
#include "nodes/parsenodes.h"
#include "nodes/plannodes.h"
+#include "utils/dsa.h"
typedef struct SharedExecutorInstrumentation SharedExecutorInstrumentation;
@@ -27,6 +28,7 @@ typedef struct ParallelExecutorInfo
BufferUsage *buffer_usage;
SharedExecutorInstrumentation *instrumentation;
shm_mq_handle **tqueue;
+ dsa_area *area;
bool finished;
} ParallelExecutorInfo;