PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "executor/executor.h"
#include "executor/nodeProjectSet.h"
#include "miscadmin.h"
#include "nodes/nodeFuncs.h"
Go to the source code of this file.
Functions | |
static TupleTableSlot * | ExecProjectSRF (ProjectSetState *node, bool continuing) |
static TupleTableSlot * | ExecProjectSet (PlanState *pstate) |
ProjectSetState * | ExecInitProjectSet (ProjectSet *node, EState *estate, int eflags) |
void | ExecEndProjectSet (ProjectSetState *node) |
void | ExecReScanProjectSet (ProjectSetState *node) |
void ExecEndProjectSet | ( | ProjectSetState * | node | ) |
Definition at line 328 of file nodeProjectSet.c.
References ExecEndNode(), and outerPlanState.
Referenced by ExecEndNode().
ProjectSetState* ExecInitProjectSet | ( | ProjectSet * | node, |
EState * | estate, | ||
int | eflags | ||
) |
Definition at line 227 of file nodeProjectSet.c.
References ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, Assert, CurrentMemoryContext, EXEC_FLAG_BACKWARD, EXEC_FLAG_MARK, ExecAssignExprContext(), ExecInitExpr(), ExecInitFunctionResultSet(), ExecInitNode(), ExecInitResultTupleSlotTL(), ExecProjectSet(), TargetEntry::expr, expression_returns_set(), innerPlan, IsA, lfirst, list_length(), makeNode, NIL, outerPlan, outerPlanState, palloc(), ProjectSet::plan, Plan::qual, Plan::targetlist, and TTSOpsVirtual.
Referenced by ExecInitNode().
|
static |
Definition at line 42 of file nodeProjectSet.c.
References ProjectSetState::argcontext, castNode, CHECK_FOR_INTERRUPTS, ExprContext::ecxt_outertuple, ExecProcNode(), ExecProjectSRF(), MemoryContextReset(), outerPlan, outerPlanState, ProjectSetState::pending_srf_tuples, ProjectSetState::ps, PlanState::ps_ExprContext, ResetExprContext, and TupIsNull.
Referenced by ExecInitProjectSet().
|
static |
Definition at line 139 of file nodeProjectSet.c.
References ProjectSetState::argcontext, Assert, ExprContext::ecxt_per_tuple_memory, ProjectSetState::elemdone, ProjectSetState::elems, ExecClearTuple(), ExecEvalExpr(), ExecMakeFunctionResultSet(), ExecStoreVirtualTuple(), ExprEndResult, ExprMultipleResult, ExprSingleResult, IsA, MemoryContextSwitchTo(), ProjectSetState::nelems, ProjectSetState::pending_srf_tuples, PG_USED_FOR_ASSERTS_ONLY, ProjectSetState::ps, PlanState::ps_ExprContext, PlanState::ps_ResultTupleSlot, TupleTableSlot::tts_isnull, and TupleTableSlot::tts_values.
Referenced by ExecProjectSet().
void ExecReScanProjectSet | ( | ProjectSetState * | node | ) |
Definition at line 337 of file nodeProjectSet.c.
References ExecReScan(), outerPlan, outerPlanState, and ProjectSetState::pending_srf_tuples.
Referenced by ExecReScan().