mirror of
https://github.com/postgres/postgres.git
synced 2025-08-25 20:23:07 +03:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user