Files
openGauss-server/src/include/executor/node/nodeSubplan.h
2021-09-23 15:19:37 +08:00

33 lines
1.1 KiB
C

/* -------------------------------------------------------------------------
*
* nodeSubplan.h
*
*
*
* Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/include/executor/nodeSubplan.h
*
* -------------------------------------------------------------------------
*/
#ifndef NODESUBPLAN_H
#define NODESUBPLAN_H
#include "nodes/execnodes.h"
extern SubPlanState* ExecInitSubPlan(SubPlan* subplan, PlanState* parent);
extern AlternativeSubPlanState* ExecInitAlternativeSubPlan(AlternativeSubPlan* asplan, PlanState* parent);
extern void ExecReScanSetParamPlan(SubPlanState* node, PlanState* parent);
extern void ExecSetParamPlan(SubPlanState* node, ExprContext* econtext);
extern void buildSubPlanHash(SubPlanState* node, ExprContext* econtext);
extern bool slotAllNulls(TupleTableSlot* slot);
extern bool slotNoNulls(TupleTableSlot* slot);
extern bool findPartialMatch(TupleHashTable hashtable, TupleTableSlot* slot, FmgrInfo* eqfunctions);
#endif /* NODESUBPLAN_H */