PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "executor/execdebug.h"
#include "executor/nodeNestloop.h"
#include "miscadmin.h"
Go to the source code of this file.
Functions | |
static TupleTableSlot * | ExecNestLoop (PlanState *pstate) |
NestLoopState * | ExecInitNestLoop (NestLoop *node, EState *estate, int eflags) |
void | ExecEndNestLoop (NestLoopState *node) |
void | ExecReScanNestLoop (NestLoopState *node) |
void ExecEndNestLoop | ( | NestLoopState * | node | ) |
Definition at line 361 of file nodeNestloop.c.
References ExecEndNode(), innerPlanState, NL1_printf, and outerPlanState.
Referenced by ExecEndNode().
NestLoopState* ExecInitNestLoop | ( | NestLoop * | node, |
EState * | estate, | ||
int | eflags | ||
) |
Definition at line 262 of file nodeNestloop.c.
References Assert, elog, ERROR, EXEC_FLAG_BACKWARD, EXEC_FLAG_MARK, EXEC_FLAG_REWIND, ExecAssignExprContext(), ExecAssignProjectionInfo(), ExecGetResultType(), ExecInitNode(), ExecInitNullTupleSlot(), ExecInitQual(), ExecInitResultTupleSlotTL(), ExecNestLoop(), PlanState::ExecProcNode, Join::inner_unique, innerPlan, innerPlanState, NestLoop::join, JOIN_ANTI, JOIN_INNER, JOIN_LEFT, JOIN_SEMI, JoinState::joinqual, Join::joinqual, JoinState::jointype, Join::jointype, NestLoopState::js, makeNode, NestLoop::nestParams, NIL, NL1_printf, NestLoopState::nl_MatchedOuter, NestLoopState::nl_NeedNewOuter, NestLoopState::nl_NullInnerTupleSlot, outerPlan, outerPlanState, PlanState::plan, JoinState::ps, PlanState::qual, JoinState::single_match, PlanState::state, and TTSOpsVirtual.
Referenced by ExecInitNode().
|
static |
Definition at line 60 of file nodeNestloop.c.
References Assert, bms_add_member(), castNode, CHECK_FOR_INTERRUPTS, ExprContext::ecxt_innertuple, ExprContext::ecxt_outertuple, ExprContext::ecxt_param_exec_vals, ENL1_printf, ExecProcNode(), ExecProject(), ExecQual(), ExecReScan(), innerPlan, innerPlanState, InstrCountFiltered1, InstrCountFiltered2, IsA, ParamExecData::isnull, JOIN_ANTI, JOIN_LEFT, JoinState::joinqual, JoinState::jointype, NestLoopState::js, lfirst, NestLoop::nestParams, NestLoopState::nl_MatchedOuter, NestLoopState::nl_NeedNewOuter, NestLoopState::nl_NullInnerTupleSlot, OUTER_VAR, outerPlan, outerPlanState, NestLoopParam::paramno, NestLoopParam::paramval, PlanState::plan, JoinState::ps, PlanState::ps_ExprContext, PlanState::ps_ProjInfo, PlanState::qual, ResetExprContext, JoinState::single_match, slot_getattr(), TupIsNull, ParamExecData::value, Var::varattno, and Var::varno.
Referenced by ExecInitNestLoop().
void ExecReScanNestLoop | ( | NestLoopState * | node | ) |
Definition at line 381 of file nodeNestloop.c.
References ExecReScan(), NestLoopState::nl_MatchedOuter, NestLoopState::nl_NeedNewOuter, outerPlan, and outerPlanState.
Referenced by ExecReScan().