PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
execParallel.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------
2  * execParallel.h
3  * POSTGRES parallel execution interface
4  *
5  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
6  * Portions Copyright (c) 1994, Regents of the University of California
7  *
8  * IDENTIFICATION
9  * src/include/executor/execParallel.h
10  *--------------------------------------------------------------------
11  */
12 
13 #ifndef EXECPARALLEL_H
14 #define EXECPARALLEL_H
15 
16 #include "access/parallel.h"
17 #include "nodes/execnodes.h"
18 #include "nodes/parsenodes.h"
19 #include "nodes/plannodes.h"
20 #include "utils/dsa.h"
21 
23 
24 typedef struct ParallelExecutorInfo
25 {
32  bool finished;
34 
36  EState *estate, int nworkers);
40 
41 #endif /* EXECPARALLEL_H */
ParallelContext * pcxt
Definition: execParallel.h:27
PlanState * planstate
Definition: execParallel.h:26
BufferUsage * buffer_usage
Definition: execParallel.h:28
void ExecParallelFinish(ParallelExecutorInfo *pei)
Definition: execParallel.c:617
void ExecParallelCleanup(ParallelExecutorInfo *pei)
Definition: execParallel.c:646
ParallelExecutorInfo * ExecInitParallelPlan(PlanState *planstate, EState *estate, int nworkers)
Definition: execParallel.c:368
struct ParallelExecutorInfo ParallelExecutorInfo
void ExecParallelReinitialize(ParallelExecutorInfo *pei)
Definition: execParallel.c:356
Definition: dsa.c:354
shm_mq_handle ** tqueue
Definition: execParallel.h:30
SharedExecutorInstrumentation * instrumentation
Definition: execParallel.h:29