|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "access/tableam.h"#include "access/xact.h"#include "executor/executor.h"#include "executor/nodeLockRows.h"#include "foreign/fdwapi.h"#include "miscadmin.h"#include "utils/rel.h"
Go to the source code of this file.
Functions | |
| static TupleTableSlot * | ExecLockRows (PlanState *pstate) |
| LockRowsState * | ExecInitLockRows (LockRows *node, EState *estate, int eflags) |
| void | ExecEndLockRows (LockRowsState *node) |
| void | ExecReScanLockRows (LockRowsState *node) |
| void ExecEndLockRows | ( | LockRowsState * | node | ) |
Definition at line 394 of file nodeLockRows.c.
References EvalPlanQualEnd(), ExecEndNode(), LockRowsState::lr_epqstate, and outerPlanState.
Referenced by ExecEndNode().
| LockRowsState * ExecInitLockRows | ( | LockRows * | node, |
| EState * | estate, | ||
| int | eflags | ||
| ) |
Definition at line 291 of file nodeLockRows.c.
References Assert, bms_is_member(), LockRows::epqParam, EState::es_unpruned_relids, EvalPlanQualInit(), EXEC_FLAG_MARK, exec_rt_fetch(), ExecBuildAuxRowMark(), ExecFindRowMark(), ExecGetResultSlotOps(), ExecInitNode(), ExecInitResultTypeTL(), ExecLockRows(), fb(), PlanRowMark::isParent, lappend(), lfirst_node, makeNode, NIL, outerPlan, outerPlanState, RowMarkRequiresRowShareLock, LockRows::rowMarks, RTE_RELATION, and PlanRowMark::rti.
Referenced by ExecInitNode().
|
static |
Definition at line 38 of file nodeLockRows.c.
References Assert, castNode, CHECK_FOR_INTERRUPTS, DatumGetObjectId(), DatumGetPointer(), elog, ereport, errcode(), ERRCODE_T_R_SERIALIZATION_FAILURE, errmsg(), ERROR, EState::es_output_cid, EState::es_snapshot, EvalPlanQualBegin(), EvalPlanQualEnd(), EvalPlanQualNext(), EvalPlanQualSetSlot, EvalPlanQualSlot(), ExecClearTuple(), ExecGetJunkAttribute(), ExecProcNode(), fb(), GetFdwRoutineForRelation(), IsolationUsesXactSnapshot, ItemPointerSetInvalid(), lfirst, lnext(), LockTupleExclusive, LockTupleKeyShare, LockTupleNoKeyExclusive, LockTupleShare, LockRowsState::lr_arowMarks, LockRowsState::lr_epqstate, OidIsValid, outerPlan, outerPlanState, LockRowsState::ps, FdwRoutine::RefetchForeignRow, RelationGetRelationName, ROW_MARK_EXCLUSIVE, ROW_MARK_KEYSHARE, ROW_MARK_NOKEYEXCLUSIVE, ROW_MARK_SHARE, PlanState::state, table_tuple_lock(), test(), TM_Deleted, TM_Invisible, TM_Ok, TM_SelfModified, TM_Updated, TM_WouldBlock, TM_FailureData::traversed, TupIsNull, TUPLE_LOCK_FLAG_FIND_LAST_VERSION, and TUPLE_LOCK_FLAG_LOCK_UPDATE_IN_PROGRESS.
Referenced by ExecInitLockRows().
| void ExecReScanLockRows | ( | LockRowsState * | node | ) |
Definition at line 403 of file nodeLockRows.c.
References ExecReScan(), fb(), outerPlan, and outerPlanState.
Referenced by ExecReScan().