PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "executor/executor.h"
#include "executor/nodeResult.h"
#include "miscadmin.h"
Go to the source code of this file.
Functions | |
static TupleTableSlot * | ExecResult (PlanState *pstate) |
void | ExecResultMarkPos (ResultState *node) |
void | ExecResultRestrPos (ResultState *node) |
ResultState * | ExecInitResult (Result *node, EState *estate, int eflags) |
void | ExecEndResult (ResultState *node) |
void | ExecReScanResult (ResultState *node) |
void ExecEndResult | ( | ResultState * | node | ) |
Definition at line 240 of file nodeResult.c.
References ExecEndNode(), and outerPlanState.
Referenced by ExecEndNode().
ResultState* ExecInitResult | ( | Result * | node, |
EState * | estate, | ||
int | eflags | ||
) |
Definition at line 180 of file nodeResult.c.
References Assert, EXEC_FLAG_BACKWARD, EXEC_FLAG_MARK, ExecAssignExprContext(), ExecAssignProjectionInfo(), ExecInitNode(), ExecInitQual(), ExecInitResultTupleSlotTL(), PlanState::ExecProcNode, ExecResult(), innerPlan, makeNode, outerPlan, outerPlanState, PlanState::plan, Result::plan, ResultState::ps, PlanState::qual, Plan::qual, ResultState::resconstantqual, Result::resconstantqual, ResultState::rs_checkqual, ResultState::rs_done, PlanState::state, and TTSOpsVirtual.
Referenced by ExecInitNode().
void ExecReScanResult | ( | ResultState * | node | ) |
Definition at line 249 of file nodeResult.c.
References ExecReScan(), outerPlan, outerPlanState, ResultState::resconstantqual, ResultState::rs_checkqual, and ResultState::rs_done.
Referenced by ExecReScan().
|
static |
Definition at line 67 of file nodeResult.c.
References castNode, CHECK_FOR_INTERRUPTS, ExprContext::ecxt_outertuple, ExecProcNode(), ExecProject(), ExecQual(), outerPlan, outerPlanState, ResultState::ps, PlanState::ps_ExprContext, PlanState::ps_ProjInfo, ResultState::resconstantqual, ResetExprContext, ResultState::rs_checkqual, ResultState::rs_done, and TupIsNull.
Referenced by ExecInitResult().
void ExecResultMarkPos | ( | ResultState * | node | ) |
Definition at line 146 of file nodeResult.c.
References DEBUG2, elog, ExecMarkPos(), outerPlan, and outerPlanState.
Referenced by ExecMarkPos().
void ExecResultRestrPos | ( | ResultState * | node | ) |
Definition at line 161 of file nodeResult.c.
References elog, ERROR, ExecRestrPos(), outerPlan, and outerPlanState.
Referenced by ExecRestrPos().