diff options
Diffstat (limited to 'src/include/executor')
| -rw-r--r-- | src/include/executor/executor.h | 3 | ||||
| -rw-r--r-- | src/include/executor/nodeSetOp.h | 2 | ||||
| -rw-r--r-- | src/include/executor/nodeSubplan.h | 4 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index 8e7a5453064..086f52cff3d 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -157,6 +157,9 @@ extern TupleHashEntry FindTupleHashEntry(TupleHashTable hashtable, ExprState *eqcomp, ExprState *hashexpr); extern void ResetTupleHashTable(TupleHashTable hashtable); +extern Size EstimateTupleHashTableSpace(double nentries, + Size tupleWidth, + Size additionalsize); #ifndef FRONTEND /* diff --git a/src/include/executor/nodeSetOp.h b/src/include/executor/nodeSetOp.h index 024c6ba1fce..302936df8be 100644 --- a/src/include/executor/nodeSetOp.h +++ b/src/include/executor/nodeSetOp.h @@ -20,4 +20,6 @@ extern SetOpState *ExecInitSetOp(SetOp *node, EState *estate, int eflags); extern void ExecEndSetOp(SetOpState *node); extern void ExecReScanSetOp(SetOpState *node); +extern Size EstimateSetOpHashTableSpace(double nentries, Size tupleWidth); + #endif /* NODESETOP_H */ diff --git a/src/include/executor/nodeSubplan.h b/src/include/executor/nodeSubplan.h index a1cafbcc694..301c29d1f24 100644 --- a/src/include/executor/nodeSubplan.h +++ b/src/include/executor/nodeSubplan.h @@ -20,6 +20,10 @@ extern SubPlanState *ExecInitSubPlan(SubPlan *subplan, PlanState *parent); extern Datum ExecSubPlan(SubPlanState *node, ExprContext *econtext, bool *isNull); +extern Size EstimateSubplanHashTableSpace(double nentries, + Size tupleWidth, + bool unknownEqFalse); + extern void ExecReScanSetParamPlan(SubPlanState *node, PlanState *parent); extern void ExecSetParamPlan(SubPlanState *node, ExprContext *econtext); |
