diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-12-19 16:47:15 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-12-19 17:11:46 -0500 |
commit | e13029a5ce353574516c64fd1ec9c50201e705fd (patch) | |
tree | 529cb354f9f3a41fe0678d2733cf303ed62030df /src/include/nodes/execnodes.h | |
parent | 2604438472c897fbbd1568b1a8ee177ba8cdb6e3 (diff) |
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/nodes/execnodes.h')
-rw-r--r-- | src/include/nodes/execnodes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index 703604ab9d7..5c3b8683f5b 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -427,6 +427,9 @@ typedef struct EState HeapTuple *es_epqTuple; /* array of EPQ substitute tuples */ bool *es_epqTupleSet; /* true if EPQ tuple is provided */ bool *es_epqScanDone; /* true if EPQ tuple has been fetched */ + + /* The per-query shared memory area to use for parallel execution. */ + struct dsa_area *es_query_dsa; } EState; |