diff options
Diffstat (limited to 'src/include/executor')
| -rw-r--r-- | src/include/executor/execAsync.h | 23 | ||||
| -rw-r--r-- | src/include/executor/executor.h | 2 |
2 files changed, 25 insertions, 0 deletions
diff --git a/src/include/executor/execAsync.h b/src/include/executor/execAsync.h new file mode 100644 index 0000000000..38b37a1d2a --- /dev/null +++ b/src/include/executor/execAsync.h @@ -0,0 +1,23 @@ +/*-------------------------------------------------------------------- + * execAsync.h + * Support functions for asynchronous query execution + * + * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group + * Portions Copyright (c) 1994, Regents of the University of California + * + * IDENTIFICATION + * src/include/executor/execAsync.h + *-------------------------------------------------------------------- + */ + +#ifndef EXECASYNC_H +#define EXECASYNC_H + +#include "nodes/execnodes.h" + +extern void ExecAsyncWaitForNode(PlanState *planstate); +extern void ExecAsyncNeedsWait(PlanState *planstate, int nevents, + bool reinit); +extern void ExecAsyncDoesNotNeedWait(PlanState *planstate); + +#endif /* EXECASYNC_H */ diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index 1eb09d80a0..7abc361fe5 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -223,6 +223,8 @@ extern void EvalPlanQualEnd(EPQState *epqstate); */ extern PlanState *ExecInitNode(Plan *node, EState *estate, PlanState *parent, int eflags); +extern void ExecDispatchNode(PlanState *node); +extern void ExecExecuteNode(PlanState *node); extern TupleTableSlot *ExecProcNode(PlanState *node); extern Node *MultiExecProcNode(PlanState *node); extern void ExecEndNode(PlanState *node); |
