PostgreSQL Source Code git master
|
#include "postgres.h"
#include "executor/executor.h"
#include "executor/nodeValuesscan.h"
#include "jit/jit.h"
#include "optimizer/clauses.h"
#include "utils/expandeddatum.h"
Go to the source code of this file.
Functions | |
static TupleTableSlot * | ValuesNext (ValuesScanState *node) |
static bool | ValuesRecheck (ValuesScanState *node, TupleTableSlot *slot) |
static TupleTableSlot * | ExecValuesScan (PlanState *pstate) |
ValuesScanState * | ExecInitValuesScan (ValuesScan *node, EState *estate, int eflags) |
void | ExecReScanValuesScan (ValuesScanState *node) |
ValuesScanState * ExecInitValuesScan | ( | ValuesScan * | node, |
EState * | estate, | ||
int | eflags | ||
) |
Definition at line 210 of file nodeValuesscan.c.
References ValuesScanState::array_len, Assert, contain_subplans(), ValuesScanState::curr_idx, EState::es_jit_flags, EState::es_subplanstates, ExecAssignExprContext(), ExecAssignScanProjectionInfo(), ExecInitExprList(), ExecInitQual(), ExecInitResultTypeTL(), ExecInitScanTupleSlot(), PlanState::ExecProcNode, ExecTypeFromExprList(), ExecValuesScan(), ValuesScanState::exprlists, ValuesScanState::exprstatelists, i, innerPlan, lfirst_node, linitial, list_length(), makeNode, outerPlan, palloc(), palloc0(), PGJIT_NONE, PlanState::plan, ScanState::ps, PlanState::ps_ExprContext, PlanState::qual, ValuesScanState::rowcontext, ValuesScan::scan, ValuesScanState::ss, PlanState::state, TTSOpsVirtual, and ValuesScan::values_lists.
Referenced by ExecInitNode().
void ExecReScanValuesScan | ( | ValuesScanState * | node | ) |
Definition at line 328 of file nodeValuesscan.c.
References ValuesScanState::curr_idx, ExecClearTuple(), ExecScanReScan(), ScanState::ps, PlanState::ps_ResultTupleSlot, and ValuesScanState::ss.
Referenced by ExecReScan().
|
static |
Definition at line 196 of file nodeValuesscan.c.
References castNode, ExecScan(), ValuesScanState::ss, ValuesNext(), and ValuesRecheck().
Referenced by ExecInitValuesScan().
|
static |
Definition at line 47 of file nodeValuesscan.c.
References ValuesScanState::array_len, Assert, CompactAttribute::attlen, ValuesScanState::curr_idx, ExprContext::ecxt_per_tuple_memory, EState::es_direction, ExecClearTuple(), ExecEvalExpr(), ExecInitExprList(), ExecStoreVirtualTuple(), ValuesScanState::exprlists, ValuesScanState::exprstatelists, lfirst, list_length(), MakeExpandedObjectReadOnly, MemoryContextSwitchTo(), TupleDescData::natts, NIL, ScanState::ps, ReScanExprContext(), ValuesScanState::rowcontext, ScanDirectionIsForward, ValuesScanState::ss, ScanState::ss_ScanTupleSlot, PlanState::state, TupleTableSlot::tts_isnull, TupleTableSlot::tts_tupleDescriptor, TupleTableSlot::tts_values, TupleDescCompactAttr(), and values.
Referenced by ExecValuesScan().
|
static |
Definition at line 180 of file nodeValuesscan.c.
Referenced by ExecValuesScan().