PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
static TupleTableSlot * | WorkTableScanNext (WorkTableScanState *node) |
static bool | WorkTableScanRecheck (WorkTableScanState *node, TupleTableSlot *slot) |
static TupleTableSlot * | ExecWorkTableScan (PlanState *pstate) |
WorkTableScanState * | ExecInitWorkTableScan (WorkTableScan *node, EState *estate, int eflags) |
void | ExecReScanWorkTableScan (WorkTableScanState *node) |
WorkTableScanState* ExecInitWorkTableScan | ( | WorkTableScan * | node, |
EState * | estate, | ||
int | eflags | ||
) |
Definition at line 130 of file nodeWorktablescan.c.
References Assert, EXEC_FLAG_BACKWARD, EXEC_FLAG_MARK, ExecAssignExprContext(), ExecInitQual(), ExecInitResultTypeTL(), ExecInitScanTupleSlot(), PlanState::ExecProcNode, ExecWorkTableScan(), innerPlan, makeNode, outerPlan, PlanState::plan, ScanState::ps, PlanState::qual, PlanState::resultopsfixed, PlanState::resultopsset, WorkTableScanState::rustate, WorkTableScan::scan, WorkTableScanState::ss, PlanState::state, and TTSOpsMinimalTuple.
Referenced by ExecInitNode().
void ExecReScanWorkTableScan | ( | WorkTableScanState * | node | ) |
Definition at line 191 of file nodeWorktablescan.c.
References ExecClearTuple(), ExecScanReScan(), ScanState::ps, PlanState::ps_ResultTupleSlot, WorkTableScanState::rustate, WorkTableScanState::ss, tuplestore_rescan(), and RecursiveUnionState::working_table.
Referenced by ExecReScan().
|
static |
Definition at line 81 of file nodeWorktablescan.c.
References Assert, castNode, DatumGetPointer(), ExecAssignScanProjectionInfo(), ExecAssignScanType(), ExecGetResultType(), ExecScan(), PlanState::plan, plan, RecursiveUnionState::ps, ScanState::ps, WorkTableScanState::rustate, WorkTableScanState::ss, PlanState::state, WorkTableScanNext(), and WorkTableScanRecheck().
Referenced by ExecInitWorkTableScan().
|
static |
Definition at line 30 of file nodeWorktablescan.c.
References Assert, EState::es_direction, ScanState::ps, WorkTableScanState::rustate, ScanDirectionIsForward, WorkTableScanState::ss, ScanState::ss_ScanTupleSlot, PlanState::state, tuplestore_gettupleslot(), and RecursiveUnionState::working_table.
Referenced by ExecWorkTableScan().
|
static |
Definition at line 66 of file nodeWorktablescan.c.
Referenced by ExecWorkTableScan().