PostgreSQL Source Code git master
nodeSubplan.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * nodeSubplan.h
4 *
5 *
6 *
7 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
9 *
10 * src/include/executor/nodeSubplan.h
11 *
12 *-------------------------------------------------------------------------
13 */
14#ifndef NODESUBPLAN_H
15#define NODESUBPLAN_H
16
17#include "nodes/execnodes.h"
18
19extern SubPlanState *ExecInitSubPlan(SubPlan *subplan, PlanState *parent);
20
21extern Datum ExecSubPlan(SubPlanState *node, ExprContext *econtext, bool *isNull);
22
23extern Size EstimateSubplanHashTableSpace(double nentries,
24 Size tupleWidth,
25 bool unknownEqFalse);
26
27extern void ExecReScanSetParamPlan(SubPlanState *node, PlanState *parent);
28
29extern void ExecSetParamPlan(SubPlanState *node, ExprContext *econtext);
30
31extern void ExecSetParamPlanMulti(const Bitmapset *params, ExprContext *econtext);
32
33#endif /* NODESUBPLAN_H */
size_t Size
Definition: c.h:615
SubPlanState * ExecInitSubPlan(SubPlan *subplan, PlanState *parent)
Definition: nodeSubplan.c:852
void ExecReScanSetParamPlan(SubPlanState *node, PlanState *parent)
Definition: nodeSubplan.c:1319
void ExecSetParamPlan(SubPlanState *node, ExprContext *econtext)
Definition: nodeSubplan.c:1120
void ExecSetParamPlanMulti(const Bitmapset *params, ExprContext *econtext)
Definition: nodeSubplan.c:1296
Datum ExecSubPlan(SubPlanState *node, ExprContext *econtext, bool *isNull)
Definition: nodeSubplan.c:61
Size EstimateSubplanHashTableSpace(double nentries, Size tupleWidth, bool unknownEqFalse)
Definition: nodeSubplan.c:638
uint64_t Datum
Definition: postgres.h:70