PostgreSQL Source Code: PlanState Struct Reference (original) (raw)

#include <[execnodes.h](execnodes%5F8h%5Fsource.html)>

Data Fields
Plan * plan
EState * state
ExecProcNodeMtd ExecProcNode
ExecProcNodeMtd ExecProcNodeReal
Instrumentation * instrument
WorkerInstrumentation * worker_instrument
struct SharedJitInstrumentation * worker_jit_instrument
ExprState * qual
struct PlanState * lefttree
struct PlanState * righttree
List * initPlan
List * subPlan
Bitmapset * chgParam
TupleDesc ps_ResultTupleDesc
TupleTableSlot * ps_ResultTupleSlot
ExprContext * ps_ExprContext
ProjectionInfo * ps_ProjInfo
bool async_capable
TupleDesc scandesc
const TupleTableSlotOps * scanops
const TupleTableSlotOps * outerops
const TupleTableSlotOps * innerops
const TupleTableSlotOps * resultops
bool scanopsfixed
bool outeropsfixed
bool inneropsfixed
bool resultopsfixed
bool scanopsset
bool outeropsset
bool inneropsset
bool resultopsset

Definition at line 1153 of file execnodes.h.

pg_node_attr()

PlanState::pg_node_attr ( abstract )

async_capable

bool PlanState::async_capable

chgParam

Definition at line 1191 of file execnodes.h.

Referenced by EvalPlanQualBegin(), ExecAsyncRequest(), ExecEndNode(), ExecHashSubPlan(), ExecProcNode(), ExecReScan(), ExecReScanAgg(), ExecReScanAppend(), ExecReScanBitmapAnd(), ExecReScanBitmapOr(), ExecReScanCteScan(), ExecReScanFunctionScan(), ExecReScanMergeAppend(), ExecReScanSetParamPlan(), ExecReScanSubqueryScan(), ExecReScanTableFuncScan(), ExecScanSubPlan(), MultiExecProcNode(), postgresReScanForeignScan(), search_plan_tree(), and UpdateChangedParamSet().

ExecProcNode

Definition at line 1165 of file execnodes.h.

Referenced by ExecInitAgg(), ExecInitAppend(), ExecInitBitmapAnd(), ExecInitBitmapHeapScan(), ExecInitBitmapIndexScan(), ExecInitBitmapOr(), ExecInitCteScan(), ExecInitCustomScan(), ExecInitForeignScan(), ExecInitFunctionScan(), ExecInitGather(), ExecInitGatherMerge(), ExecInitGroup(), ExecInitHash(), ExecInitHashJoin(), ExecInitIncrementalSort(), ExecInitIndexOnlyScan(), ExecInitIndexScan(), ExecInitLimit(), ExecInitLockRows(), ExecInitMaterial(), ExecInitMemoize(), ExecInitMergeAppend(), ExecInitMergeJoin(), ExecInitModifyTable(), ExecInitNamedTuplestoreScan(), ExecInitNestLoop(), ExecInitNode(), ExecInitRecursiveUnion(), ExecInitResult(), ExecInitSampleScan(), ExecInitSeqScan(), ExecInitSetOp(), ExecInitSort(), ExecInitSubqueryScan(), ExecInitTableFuncScan(), ExecInitTidRangeScan(), ExecInitTidScan(), ExecInitUnique(), ExecInitValuesScan(), ExecInitWindowAgg(), ExecInitWorkTableScan(), ExecProcNode(), ExecProcNodeFirst(), and ExecSetExecProcNode().

ExecProcNodeReal

initPlan

List* PlanState::initPlan

innerops

inneropsfixed

bool PlanState::inneropsfixed

inneropsset

bool PlanState::inneropsset

instrument

Definition at line 1169 of file execnodes.h.

Referenced by complete_pending_request(), ExecAggEstimate(), ExecAggInitializeDSM(), ExecAsyncConfigureWait(), ExecAsyncNotify(), ExecAsyncRequest(), ExecBitmapHeapEstimate(), ExecBitmapHeapInitializeDSM(), ExecBitmapHeapInitializeWorker(), ExecBitmapIndexScanEstimate(), ExecBitmapIndexScanInitializeDSM(), ExecBitmapIndexScanInitializeWorker(), ExecHashEstimate(), ExecHashInitializeDSM(), ExecHashInitializeWorker(), ExecIncrementalSortEstimate(), ExecIncrementalSortInitializeDSM(), ExecIndexOnlyScanEstimate(), ExecIndexOnlyScanInitializeDSM(), ExecIndexOnlyScanInitializeWorker(), ExecIndexScanEstimate(), ExecIndexScanInitializeDSM(), ExecIndexScanInitializeWorker(), ExecInitIncrementalSort(), ExecInitNode(), ExecMemoizeEstimate(), ExecMemoizeInitializeDSM(), ExecParallelReportInstrumentation(), ExecParallelRetrieveInstrumentation(), ExecProcNodeFirst(), ExecProcNodeInstr(), ExecReScan(), ExecReScanHashJoin(), ExecShutdownHash(), ExecShutdownNode_walker(), ExecSortEstimate(), ExecSortInitializeDSM(), ExplainNode(), MultiExecBitmapAnd(), MultiExecBitmapIndexScan(), MultiExecBitmapOr(), MultiExecHash(), postgresIterateDirectModify(), show_instrumentation_count(), and show_modifytable_info().

lefttree

outerops

outeropsfixed

bool PlanState::outeropsfixed

outeropsset

bool PlanState::outeropsset

plan

Definition at line 1159 of file execnodes.h.

Referenced by apply_handle_tuple_routing(), are_peers(), build_hash_table(), buildSubPlanHash(), conversion_error_callback(), CopyFrom(), EvalPlanQualBegin(), ExecAggInitializeDSM(), ExecAggInitializeWorker(), ExecAppendInitializeDSM(), ExecAppendInitializeWorker(), ExecAssignProjectionInfo(), ExecAssignScanProjectionInfo(), ExecBitmapHeapInitializeDSM(), ExecBitmapHeapInitializeWorker(), ExecBitmapIndexScanInitializeDSM(), ExecBitmapIndexScanInitializeWorker(), ExecConditionalAssignProjectionInfo(), ExecCrossPartitionUpdate(), ExecCustomScanInitializeDSM(), ExecCustomScanInitializeWorker(), ExecCustomScanReInitializeDSM(), ExecEndForeignScan(), ExecForeignScan(), ExecForeignScanInitializeDSM(), ExecForeignScanInitializeWorker(), ExecForeignScanReInitializeDSM(), ExecGather(), ExecGatherMerge(), ExecHashInitializeDSM(), ExecHashInitializeWorker(), ExecHashJoinImpl(), ExecIncrementalSort(), ExecIncrementalSortInitializeDSM(), ExecIncrementalSortInitializeWorker(), ExecIndexMarkPos(), ExecIndexOnlyMarkPos(), ExecIndexOnlyRestrPos(), ExecIndexOnlyScanEstimate(), ExecIndexOnlyScanInitializeDSM(), ExecIndexOnlyScanInitializeWorker(), ExecIndexOnlyScanReInitializeDSM(), ExecIndexRestrPos(), ExecIndexScanEstimate(), ExecIndexScanInitializeDSM(), ExecIndexScanInitializeWorker(), ExecIndexScanReInitializeDSM(), ExecInitAgg(), ExecInitAppend(), ExecInitBitmapAnd(), ExecInitBitmapHeapScan(), ExecInitBitmapIndexScan(), ExecInitBitmapOr(), ExecInitCteScan(), ExecInitCustomScan(), ExecInitForeignScan(), ExecInitFunctionScan(), ExecInitGather(), ExecInitGatherMerge(), ExecInitGroup(), ExecInitHash(), ExecInitHashJoin(), ExecInitIncrementalSort(), ExecInitIndexOnlyScan(), ExecInitIndexScan(), ExecInitInsertProjection(), ExecInitLimit(), ExecInitLockRows(), ExecInitMaterial(), ExecInitMemoize(), ExecInitMergeAppend(), ExecInitMergeJoin(), ExecInitModifyTable(), ExecInitNamedTuplestoreScan(), ExecInitNestLoop(), ExecInitParallelPlan(), ExecInitPartitionInfo(), ExecInitRecursiveUnion(), ExecInitResult(), ExecInitResultTypeTL(), ExecInitSampleScan(), ExecInitSeqScan(), ExecInitSetOp(), ExecInitSort(), ExecInitSubqueryScan(), ExecInitTableFuncScan(), ExecInitTidRangeScan(), ExecInitTidScan(), ExecInitUnique(), ExecInitUpdateProjection(), ExecInitValuesScan(), ExecInitWholeRowVar(), ExecInitWindowAgg(), ExecInitWorkTableScan(), ExecInsert(), ExecMemoize(), ExecMemoizeInitializeDSM(), ExecMemoizeInitializeWorker(), ExecNestLoop(), ExecParallelEstimate(), ExecParallelInitializeDSM(), ExecParallelInitializeWorker(), ExecParallelReInitializeDSM(), ExecParallelReportInstrumentation(), ExecParallelRetrieveInstrumentation(), ExecRecursiveUnion(), ExecReScan(), ExecReScanAgg(), ExecReScanForeignScan(), ExecReScanFunctionScan(), ExecReScanGather(), ExecReScanGatherMerge(), ExecReScanRecursiveUnion(), ExecReScanSetOp(), ExecReScanSetParamPlan(), ExecScanFetch(), ExecScanReScan(), ExecSeqScanInitializeDSM(), ExecSeqScanInitializeWorker(), ExecSetOp(), ExecSetupTransitionCaptureState(), ExecSort(), ExecSortInitializeDSM(), ExecSortInitializeWorker(), ExecWorkTableScan(), ExplainNode(), ExplainPreScanNode(), fetch_more_data(), fileBeginForeignScan(), find_cols(), fireASTriggers(), fireBSTriggers(), ForeignNext(), gather_merge_init(), gather_merge_setup(), get_tupdesc_for_join_scan_tuples(), IndexNext(), IndexNextWithReorder(), IndexOnlyNext(), InitPlan(), isCurrentGroup(), MultiExecBitmapIndexScan(), MultiExecBitmapOr(), overexplain_per_node_hook(), planstate_tree_walker_impl(), postgresBeginDirectModify(), postgresBeginForeignInsert(), postgresBeginForeignScan(), postgresExplainDirectModify(), postgresExplainForeignScan(), postgresRecheckForeignScan(), prepare_tuplestore(), preparePresortedCols(), row_is_in_frame(), set_output_count(), show_agg_keys(), show_expression(), show_foreignscan_info(), show_group_keys(), show_grouping_set_keys(), show_grouping_sets(), show_hashagg_info(), show_incremental_sort_keys(), show_indexsearches_info(), show_merge_append_keys(), show_modifytable_info(), show_plan_tlist(), show_scan_qual(), show_sort_group_keys(), show_sort_keys(), show_tablesample(), show_window_def(), show_window_keys(), spool_tuples(), switchToPresortedPrefixMode(), tfuncInitialize(), tfuncLoadRows(), TidExprListCreate(), update_frameheadpos(), update_frametailpos(), update_grouptailpos(), UpdateChangedParamSet(), and WinRowsArePeers().

ps_ExprContext

Definition at line 1198 of file execnodes.h.

Referenced by agg_retrieve_direct(), agg_retrieve_hash_table_in_memory(), BitmapHeapNext(), BitmapHeapRecheck(), build_hash_table(), calculate_frame_offsets(), create_cursor(), eval_windowaggregates(), eval_windowfunction(), ExecAssignExprContext(), ExecAssignProjectionInfo(), ExecGather(), ExecGatherMerge(), ExecGroup(), ExecHashJoinImpl(), ExecHashJoinOuterGetTuple(), ExecInitAgg(), ExecInitBitmapIndexScan(), ExecInitFunctionScan(), ExecInitIndexOnlyScan(), ExecInitIndexScan(), ExecInitInsertProjection(), ExecInitMerge(), ExecInitModifyTable(), ExecInitPartitionInfo(), ExecInitUpdateProjection(), ExecInitValuesScan(), ExecInitWindowAgg(), ExecLimit(), ExecMemoize(), ExecMergeJoin(), ExecMergeMatched(), ExecMergeNotMatched(), ExecModifyTable(), ExecNestLoop(), ExecOnConflictUpdate(), ExecParallelHashJoinOuterGetTuple(), ExecParallelHashJoinPartitionOuter(), ExecProjectSet(), ExecProjectSRF(), ExecReScan(), ExecReScanAgg(), ExecReScanWindowAgg(), ExecResult(), ExecScanExtended(), ExecUnique(), execute_dml_stmt(), ExecWindowAgg(), finalize_aggregate(), finalize_aggregates(), finalize_partialaggregate(), finalize_windowaggregate(), ForeignNext(), ForeignRecheck(), FunctionNext(), IndexNext(), IndexNextWithReorder(), IndexOnlyNext(), IndexRecheck(), MemoizeHash_equal(), MemoizeHash_hash(), MJCompare(), MJFillInner(), MJFillOuter(), MultiExecParallelHash(), MultiExecPrivateHash(), prepare_probe_slot(), project_aggregates(), recompute_limits(), setop_fill_hash_table(), spool_tuples(), StoreIndexTuple(), TableFuncNext(), tablesample_init(), TidListEval(), TidRangeEval(), update_frameheadpos(), update_frametailpos(), update_grouptailpos(), window_gettupleslot(), WinGetFuncArgCurrent(), WinGetFuncArgInFrame(), and WinGetFuncArgInPartition().

ps_ProjInfo

Definition at line 1199 of file execnodes.h.

Referenced by ExecAssignProjectionInfo(), ExecConditionalAssignProjectionInfo(), ExecGather(), ExecGatherMerge(), ExecGroup(), ExecHashJoinImpl(), ExecInitAppend(), ExecInitGather(), ExecInitGatherMerge(), ExecInitHash(), ExecInitIncrementalSort(), ExecInitLimit(), ExecInitLockRows(), ExecInitMaterial(), ExecInitMemoize(), ExecInitMergeAppend(), ExecInitRecursiveUnion(), ExecInitSeqScan(), ExecInitSetOp(), ExecInitSort(), ExecInitUnique(), ExecMergeJoin(), ExecNestLoop(), ExecResult(), ExecScan(), ExecSeqScan(), ExecSeqScanWithProject(), ExecSeqScanWithQual(), ExecSeqScanWithQualProject(), ExecWindowAgg(), MJFillInner(), MJFillOuter(), and project_aggregates().

ps_ResultTupleDesc

ps_ResultTupleSlot

Definition at line 1197 of file execnodes.h.

Referenced by ExecAppend(), ExecAppendAsyncGetNext(), ExecAssignProjectionInfo(), ExecConditionalAssignProjectionInfo(), ExecGetResultSlotOps(), ExecIncrementalSort(), ExecInitHashJoin(), ExecInitModifyTable(), ExecInitPartitionInfo(), ExecInitResultSlot(), ExecInitSetOp(), ExecMaterial(), ExecMemoize(), ExecMergeAppend(), ExecProjectSRF(), ExecReScanCteScan(), ExecReScanFunctionScan(), ExecReScanIncrementalSort(), ExecReScanMaterial(), ExecReScanNamedTuplestoreScan(), ExecReScanSetOp(), ExecReScanSort(), ExecReScanTableFuncScan(), ExecReScanUnique(), ExecReScanValuesScan(), ExecReScanWorkTableScan(), ExecSetOp(), ExecSort(), ExecUnique(), setop_retrieve_hash_table(), and setop_retrieve_sorted().

qual

Definition at line 1180 of file execnodes.h.

Referenced by ExecGroup(), ExecHashJoinImpl(), ExecInitAgg(), ExecInitBitmapHeapScan(), ExecInitCteScan(), ExecInitCustomScan(), ExecInitForeignScan(), ExecInitFunctionScan(), ExecInitGroup(), ExecInitHashJoin(), ExecInitIndexOnlyScan(), ExecInitIndexScan(), ExecInitMergeJoin(), ExecInitNamedTuplestoreScan(), ExecInitNestLoop(), ExecInitResult(), ExecInitSampleScan(), ExecInitSeqScan(), ExecInitSubqueryScan(), ExecInitTableFuncScan(), ExecInitTidRangeScan(), ExecInitTidScan(), ExecInitValuesScan(), ExecInitWindowAgg(), ExecInitWorkTableScan(), ExecMergeJoin(), ExecNestLoop(), ExecScan(), ExecSeqScan(), ExecSeqScanWithProject(), ExecSeqScanWithQual(), ExecSeqScanWithQualProject(), ExecSetTupleBound(), ExecWindowAgg(), MJFillInner(), MJFillOuter(), and project_aggregates().

resultops

resultopsfixed

bool PlanState::resultopsfixed

Definition at line 1240 of file execnodes.h.

Referenced by ExecConditionalAssignProjectionInfo(), ExecGetResultSlotOps(), ExecInitAppend(), ExecInitGather(), ExecInitGatherMerge(), ExecInitLimit(), ExecInitLockRows(), ExecInitMergeAppend(), ExecInitResultSlot(), ExecInitSubqueryScan(), and ExecInitWorkTableScan().

resultopsset

bool PlanState::resultopsset

Definition at line 1244 of file execnodes.h.

Referenced by ExecConditionalAssignProjectionInfo(), ExecGetResultSlotOps(), ExecInitAppend(), ExecInitGather(), ExecInitGatherMerge(), ExecInitLimit(), ExecInitLockRows(), ExecInitMergeAppend(), ExecInitResultSlot(), ExecInitSubqueryScan(), and ExecInitWorkTableScan().

righttree

scandesc

scanops

scanopsfixed

bool PlanState::scanopsfixed

scanopsset

bool PlanState::scanopsset

state

Definition at line 1161 of file execnodes.h.

Referenced by apply_handle_tuple_routing(), BitmapTableScanSetup(), build_hash_table(), buildSubPlanHash(), choose_next_subplan_for_leader(), choose_next_subplan_for_worker(), choose_next_subplan_locally(), conversion_error_callback(), CopyFrom(), CteScanNext(), ExecAppendAsyncBegin(), ExecBitmapHeapInitializeDSM(), ExecBitmapHeapInitializeWorker(), ExecBitmapHeapReInitializeDSM(), ExecCleanupTupleRouting(), ExecCrossPartitionUpdate(), ExecEndForeignScan(), ExecEndModifyTable(), ExecForeignScan(), ExecGather(), ExecGatherMerge(), ExecIncrementalSort(), ExecIndexMarkPos(), ExecIndexOnlyMarkPos(), ExecIndexOnlyRestrPos(), ExecIndexOnlyScanEstimate(), ExecIndexOnlyScanInitializeDSM(), ExecIndexRestrPos(), ExecIndexScanEstimate(), ExecIndexScanInitializeDSM(), ExecInitAgg(), ExecInitAppend(), ExecInitBitmapAnd(), ExecInitBitmapHeapScan(), ExecInitBitmapIndexScan(), ExecInitBitmapOr(), ExecInitCteScan(), ExecInitCustomScan(), ExecInitForeignScan(), ExecInitFunctionScan(), ExecInitGather(), ExecInitGatherMerge(), ExecInitGroup(), ExecInitHash(), ExecInitHashJoin(), ExecInitIncrementalSort(), ExecInitIndexOnlyScan(), ExecInitIndexScan(), ExecInitInsertProjection(), ExecInitLimit(), ExecInitLockRows(), ExecInitMaterial(), ExecInitMemoize(), ExecInitMergeAppend(), ExecInitMergeJoin(), ExecInitMergeTupleSlots(), ExecInitModifyTable(), ExecInitNamedTuplestoreScan(), ExecInitNestLoop(), ExecInitPartitionExecPruning(), ExecInitPartitionInfo(), ExecInitRecursiveUnion(), ExecInitResult(), ExecInitResultSlot(), ExecInitSampleScan(), ExecInitSeqScan(), ExecInitSetOp(), ExecInitSort(), ExecInitSubPlan(), ExecInitSubqueryScan(), ExecInitTableFuncScan(), ExecInitTidRangeScan(), ExecInitTidScan(), ExecInitUnique(), ExecInitUpdateProjection(), ExecInitValuesScan(), ExecInitWholeRowVar(), ExecInitWindowAgg(), ExecInitWorkTableScan(), ExecLimit(), ExecLockRows(), ExecMaterial(), ExecMergeMatched(), ExecModifyTable(), ExecOnConflictUpdate(), ExecParallelReinitialize(), ExecParallelRetrieveInstrumentation(), ExecParallelRetrieveJitInstrumentation(), ExecReScanForeignScan(), ExecReScanSetParamPlan(), ExecScan(), ExecScanReScan(), ExecSeqScan(), ExecSeqScanEstimate(), ExecSeqScanInitializeDSM(), ExecSeqScanWithProject(), ExecSeqScanWithQual(), ExecSeqScanWithQualProject(), ExecSetParamPlan(), ExecSort(), ExecSubPlan(), ExecWorkTableScan(), ExplainNode(), find_hash_columns(), fireASTriggers(), fireBSTriggers(), ForeignNext(), FunctionNext(), gather_getnext(), gather_merge_readnext(), gather_merge_setup(), get_returning_data(), get_tupdesc_for_join_scan_tuples(), hash_create_memory(), IndexNext(), IndexNextWithReorder(), IndexOnlyNext(), init_sexpr(), InitExecPartitionPruneContexts(), llvm_compile_expr(), MultiExecBitmapIndexScan(), MultiExecBitmapOr(), NamedTuplestoreScanNext(), ParallelQueryMain(), postgresBeginDirectModify(), postgresBeginForeignInsert(), postgresBeginForeignModify(), postgresBeginForeignScan(), postgresIterateDirectModify(), reorderqueue_push(), SeqNext(), show_modifytable_info(), switchToPresortedPrefixMode(), tablesample_init(), TidListEval(), TidNext(), TidRangeNext(), ValuesNext(), and WorkTableScanNext().

subPlan

worker_instrument

worker_jit_instrument


The documentation for this struct was generated from the following file: