|
PostgreSQL Source Code git master
|
#include "nodes/execnodes.h"

Go to the source code of this file.
Functions | |
| SubPlanState * | ExecInitSubPlan (SubPlan *subplan, PlanState *parent) |
| Datum | ExecSubPlan (SubPlanState *node, ExprContext *econtext, bool *isNull) |
| Size | EstimateSubplanHashTableSpace (double nentries, Size tupleWidth, bool unknownEqFalse) |
| void | ExecReScanSetParamPlan (SubPlanState *node, PlanState *parent) |
| void | ExecSetParamPlan (SubPlanState *node, ExprContext *econtext) |
| void | ExecSetParamPlanMulti (const Bitmapset *params, ExprContext *econtext) |
Definition at line 636 of file nodeSubplan.c.
References EstimateTupleHashTableSpace(), and fb().
Referenced by subpath_is_hashable(), and subplan_is_hashable().
|
extern |
Definition at line 850 of file nodeSubplan.c.
References ALLOCSET_DEFAULT_SIZES, OpExpr::args, Assert, BumpContextCreate(), castNode, CreateExprContext(), CTE_SUBLINK, SubPlanState::cur_eq_comp, SubPlanState::cur_eq_funcs, SubPlanState::curArray, CurrentMemoryContext, SubPlanState::curTuple, SubPlanState::descRight, elog, ERROR, EState::es_param_exec_vals, EState::es_subplanstates, ExecBuildGroupingEqual(), ExecBuildHash32FromAttrs(), ExecBuildProjectionInfo(), ExecInitExpr(), ExecInitExtraTupleSlot(), ParamExecData::execPlan, ExecTypeFromTL(), fb(), fmgr_info(), fmgr_info_set_expr, get_compatible_hash_operators(), get_op_hash_functions(), get_opcode(), SubPlanState::hashnulls, SubPlanState::hashtable, i, SubPlanState::innerecontext, is_andclause(), IsA, SubPlanState::keyColIdx, lappend(), lfirst_int, lfirst_node, SubPlanState::lhs_hash_expr, linitial, list_length(), list_make1, list_nth(), lsecond, makeNode, makeTargetEntry(), NIL, nodeTag, SubPlanState::numCols, OpExpr::opno, palloc(), SubPlanState::parent, SubPlan::parParam, SubPlan::plan_id, SubPlan::plan_name, SubPlanState::planstate, PointerGetDatum(), SubPlanState::projLeft, SubPlanState::projRight, SubPlan::setParam, PlanState::state, SubPlan::subLinkType, SubPlanState::subplan, SubPlanState::tab_collations, SubPlanState::tab_eq_funcoids, SubPlanState::tab_hash_funcs, SubPlanState::testexpr, SubPlan::testexpr, TTSOpsMinimalTuple, TTSOpsVirtual, SubPlanState::tuplesContext, and SubPlan::useHashTable.
Referenced by ExecInitNode(), and ExecInitSubPlanExpr().
|
extern |
Definition at line 1317 of file nodeSubplan.c.
References bms_add_member(), bms_is_empty, PlanState::chgParam, CTE_SUBLINK, elog, ERROR, EState::es_param_exec_vals, ParamExecData::execPlan, Plan::extParam, fb(), lfirst_int, NIL, SubPlan::parParam, PlanState::plan, SubPlanState::planstate, SubPlan::setParam, PlanState::state, SubPlan::subLinkType, and SubPlanState::subplan.
Referenced by ExecReScan().
|
extern |
Definition at line 1118 of file nodeSubplan.c.
References accumArrayResultAny(), ALL_SUBLINK, ANY_SUBLINK, SubPlan::args, ARRAY_SUBLINK, Assert, BoolGetDatum(), CTE_SUBLINK, SubPlanState::curArray, CurrentMemoryContext, SubPlanState::curTuple, DatumGetPointer(), ExprContext::ecxt_param_exec_vals, ExprContext::ecxt_per_query_memory, elog, ereport, errcode(), errmsg(), ERROR, EState::es_direction, ExecCopySlotHeapTuple(), ParamExecData::execPlan, ExecProcNode(), EXISTS_SUBLINK, EXPR_SUBLINK, fb(), SubPlan::firstColType, ForwardScanDirection, heap_freetuple(), heap_getattr(), i, initArrayResultAny(), lfirst_int, linitial_int, makeArrayResultAny(), MemoryContextSwitchTo(), MULTIEXPR_SUBLINK, SubPlan::parParam, pfree(), SubPlanState::planstate, PointerGetDatum(), ROWCOMPARE_SUBLINK, SubPlan::setParam, slot_getattr(), PlanState::state, SubPlan::subLinkType, SubPlanState::subplan, TupleTableSlot::tts_tupleDescriptor, TupIsNull, and TupleDescAttr().
Referenced by ExecEvalParamExec(), and ExecSetParamPlanMulti().
|
extern |
Definition at line 1294 of file nodeSubplan.c.
References Assert, bms_next_member(), ExprContext::ecxt_param_exec_vals, ExecSetParamPlan(), and fb().
Referenced by EvalPlanQualBegin(), EvalPlanQualStart(), ExecInitParallelPlan(), and ExecParallelReinitialize().
|
extern |
Definition at line 59 of file nodeSubplan.c.
References CHECK_FOR_INTERRUPTS, CTE_SUBLINK, elog, ERROR, EState::es_direction, ExecHashSubPlan(), ExecScanSubPlan(), ForwardScanDirection, MULTIEXPR_SUBLINK, NIL, SubPlanState::planstate, SubPlan::setParam, PlanState::state, SubPlan::subLinkType, SubPlanState::subplan, and SubPlan::useHashTable.
Referenced by ExecEvalSubPlan().