mirror of
https://github.com/postgres/postgres.git
synced 2025-08-25 20:23:07 +03:00
Avoid aggregating worker instrumentation multiple times.
Amit Kapila, per design ideas from me.
This commit is contained in:
@@ -27,12 +27,13 @@ typedef struct ParallelExecutorInfo
|
||||
BufferUsage *buffer_usage;
|
||||
SharedExecutorInstrumentation *instrumentation;
|
||||
shm_mq_handle **tqueue;
|
||||
bool finished;
|
||||
} ParallelExecutorInfo;
|
||||
|
||||
extern ParallelExecutorInfo *ExecInitParallelPlan(PlanState *planstate,
|
||||
EState *estate, int nworkers);
|
||||
extern void ExecParallelFinish(ParallelExecutorInfo *pei);
|
||||
extern void ExecParallelCleanup(ParallelExecutorInfo *pei);
|
||||
extern shm_mq_handle **ExecParallelReinitializeTupleQueues(ParallelContext *pcxt);
|
||||
extern void ExecParallelReinitialize(ParallelExecutorInfo *pei);
|
||||
|
||||
#endif /* EXECPARALLEL_H */
|
||||
|
Reference in New Issue
Block a user