76 #define EEO_FLAG_IS_QUAL (1 << 0)
88 #define FIELDNO_EXPRSTATE_RESNULL 2
90 #define FIELDNO_EXPRSTATE_RESVALUE 3
96 #define FIELDNO_EXPRSTATE_RESULTSLOT 4
124 #define FIELDNO_EXPRSTATE_PARENT 11
257 #define FIELDNO_EXPRCONTEXT_SCANTUPLE 1
259 #define FIELDNO_EXPRCONTEXT_INNERTUPLE 2
261 #define FIELDNO_EXPRCONTEXT_OUTERTUPLE 3
276 #define FIELDNO_EXPRCONTEXT_AGGVALUES 8
278 #define FIELDNO_EXPRCONTEXT_AGGNULLS 9
282 #define FIELDNO_EXPRCONTEXT_CASEDATUM 10
284 #define FIELDNO_EXPRCONTEXT_CASENULL 11
288 #define FIELDNO_EXPRCONTEXT_DOMAINDATUM 12
290 #define FIELDNO_EXPRCONTEXT_DOMAINNULL 13
821 #define SH_PREFIX tuplehash
822 #define SH_ELEMENT_TYPE TupleHashEntryData
823 #define SH_KEY_TYPE MinimalTuple
824 #define SH_SCOPE extern
855 #define InitTupleHashIterator(htable, iter) \
856 tuplehash_start_iterate(htable->hashtab, iter)
857 #define TermTupleHashIterator(iter) \
859 #define ResetTupleHashIterator(htable, iter) \
860 InitTupleHashIterator(htable, iter)
861 #define ScanTupleHashTable(htable, iter) \
862 tuplehash_iterate(htable->hashtab, iter)
1222 #define innerPlanState(node) (((PlanState *)(node))->righttree)
1223 #define outerPlanState(node) (((PlanState *)(node))->lefttree)
1226 #define InstrCountTuples2(node, delta) \
1228 if (((PlanState *)(node))->instrument) \
1229 ((PlanState *)(node))->instrument->ntuples2 += (delta); \
1231 #define InstrCountFiltered1(node, delta) \
1233 if (((PlanState *)(node))->instrument) \
1234 ((PlanState *)(node))->instrument->nfiltered1 += (delta); \
1236 #define InstrCountFiltered2(node, delta) \
1238 if (((PlanState *)(node))->instrument) \
1239 ((PlanState *)(node))->instrument->nfiltered2 += (delta); \
1355 #define MERGE_INSERT 0x01
1356 #define MERGE_UPDATE 0x02
1357 #define MERGE_DELETE 0x04
2511 #define FIELDNO_AGGSTATE_CURAGGCONTEXT 14
2514 #define FIELDNO_AGGSTATE_CURPERTRANS 16
2519 #define FIELDNO_AGGSTATE_CURRENT_SET 20
2565 #define FIELDNO_AGGSTATE_ALL_PERGROUPS 53
#define FLEXIBLE_ARRAY_MEMBER
void(* ExprContextCallbackFunction)(Datum arg)
struct WindowStatePerAggData * WindowStatePerAgg
struct IndexScanState IndexScanState
struct ExprContext ExprContext
struct ModifyTableState ModifyTableState
struct ResultState ResultState
struct SubPlanState SubPlanState
struct SharedIncrementalSortInfo SharedIncrementalSortInfo
struct CteScanState CteScanState
TupleTableSlot *(* ExecProcNodeMtd)(struct PlanState *pstate)
struct UniqueState UniqueState
struct SetOpState SetOpState
struct SharedMemoizeInfo SharedMemoizeInfo
struct HashState HashState
struct MemoizeState MemoizeState
struct IndexOnlyScanState IndexOnlyScanState
IncrementalSortExecutionStatus
struct GatherMergeState GatherMergeState
struct LimitState LimitState
struct ExprState ExprState
@ WINDOWAGG_PASSTHROUGH_STRICT
struct JunkFilter JunkFilter
struct ResultRelInfo ResultRelInfo
struct CustomScanState CustomScanState
struct OnConflictSetState OnConflictSetState
struct BitmapOrState BitmapOrState
struct IncrementalSortInfo IncrementalSortInfo
struct WindowFuncExprState WindowFuncExprState
struct HashJoinState HashJoinState
struct HashJoinTableData * HashJoinTable
struct SeqScanState SeqScanState
struct HashJoinTupleData * HashJoinTuple
struct TupleHashEntryData * TupleHashEntry
struct SortState SortState
struct BitmapAndState BitmapAndState
struct NestLoopState NestLoopState
struct MemoizeInstrumentation MemoizeInstrumentation
struct SharedBitmapHeapInstrumentation SharedBitmapHeapInstrumentation
struct SetExprState SetExprState
struct GroupState GroupState
struct BitmapHeapScanInstrumentation BitmapHeapScanInstrumentation
struct MaterialState MaterialState
struct WindowStatePerFuncData * WindowStatePerFunc
struct ExprContext_CB ExprContext_CB
struct TidRangeScanState TidRangeScanState
struct AggStatePerHashData * AggStatePerHash
struct TupleHashTableData * TupleHashTable
struct SampleScanState SampleScanState
struct GatherState GatherState
struct MergeJoinClauseData * MergeJoinClause
struct ParallelBitmapHeapState ParallelBitmapHeapState
struct MergeJoinState MergeJoinState
struct SetOpStatePerGroupData * SetOpStatePerGroup
struct AggStatePerGroupData * AggStatePerGroup
struct ForeignScanState ForeignScanState
struct FunctionScanState FunctionScanState
struct AggStatePerPhaseData * AggStatePerPhase
struct WindowAggState WindowAggState
struct AggStatePerTransData * AggStatePerTrans
struct NamedTuplestoreScanState NamedTuplestoreScanState
struct SubqueryScanState SubqueryScanState
struct TableFuncScanState TableFuncScanState
struct RecursiveUnionState RecursiveUnionState
struct TupleHashEntryData TupleHashEntryData
struct SharedSortInfo SharedSortInfo
struct ScanState ScanState
tuplehash_iterator TupleHashIterator
struct MergeActionState MergeActionState
struct AggregateInstrumentation AggregateInstrumentation
struct TidScanState TidScanState
struct SharedHashInfo SharedHashInfo
struct ProjectSetState ProjectSetState
struct IncrementalSortState IncrementalSortState
struct JsonExprState JsonExprState
struct ReturnSetInfo ReturnSetInfo
struct AggStatePerAggData * AggStatePerAgg
@ SFRM_Materialize_Preferred
@ SFRM_Materialize_Random
struct IndexInfo IndexInfo
struct ProjectionInfo ProjectionInfo
struct DomainConstraintState DomainConstraintState
struct PresortedKeyData PresortedKeyData
struct HashInstrumentation HashInstrumentation
struct AsyncRequest AsyncRequest
struct IncrementalSortGroupInfo IncrementalSortGroupInfo
struct TupleHashTableData TupleHashTableData
struct JoinState JoinState
struct WorkTableScanState WorkTableScanState
struct BitmapHeapScanState BitmapHeapScanState
struct BitmapIndexScanState BitmapIndexScanState
struct SharedAggInfo SharedAggInfo
struct LockRowsState LockRowsState
struct ExecRowMark ExecRowMark
struct MergeAppendState MergeAppendState
Datum(* ExprStateEvalFunc)(struct ExprState *expression, struct ExprContext *econtext, bool *isNull)
struct ExecAuxRowMark ExecAuxRowMark
struct ValuesScanState ValuesScanState
#define NUM_MERGE_MATCH_KINDS
MemoryContext hash_metacxt
Tuplesortstate * sort_out
AggStatePerGroup * all_pergroups
AggStatePerGroup * hash_pergroup
int hash_planned_partitions
ExprContext * curaggcontext
AggStatePerTrans curpertrans
AggStatePerTrans pertrans
struct LogicalTapeSet * hash_tapeset
ExprContext * hashcontext
SharedAggInfo * shared_info
uint64 hash_ngroups_limit
AggStatePerGroup * pergroups
uint64 hash_ngroups_current
TupleTableSlot * hash_spill_wslot
struct HashAggSpill * hash_spills
TupleTableSlot * sort_slot
TupleTableSlot * hash_spill_rslot
ExprContext ** aggcontexts
Bitmapset * colnos_needed
struct PartitionPruneState * as_prune_state
Bitmapset * as_valid_asyncplans
Bitmapset * as_needrequest
AsyncRequest ** as_asyncrequests
Bitmapset * as_asyncplans
struct WaitEventSet * as_eventset
int as_first_partial_plan
ParallelAppendState * as_pstate
Bitmapset * as_valid_subplans
TupleTableSlot ** as_asyncresults
bool as_valid_subplans_identified
struct PlanState * requestor
struct PlanState * requestee
ParallelBitmapHeapState * pstate
ExprState * bitmapqualorig
BitmapHeapScanInstrumentation stats
BlockNumber prefetch_blockno
SharedBitmapHeapInstrumentation * sinstrument
TBMIterator * prefetch_iterator
TBMSharedIterator * shared_prefetch_iterator
bool biss_RuntimeKeysReady
ExprContext * biss_RuntimeContext
IndexArrayKeyInfo * biss_ArrayKeys
IndexRuntimeKeyInfo * biss_RuntimeKeys
struct ScanKeyData * biss_ScanKeys
struct IndexScanDescData * biss_ScanDesc
Relation biss_RelationDesc
Tuplestorestate * cte_table
struct CteScanState * leader
const struct TupleTableSlotOps * slotOps
const struct CustomExecMethods * methods
DomainConstraintType constrainttype
ExprState * check_exprstate
ExecAuxRowMark ** relsubs_rowmark
TupleTableSlot * origslot
TupleTableSlot ** relsubs_slot
PlanState * recheckplanstate
struct dsa_area * es_query_dsa
struct ExecRowMark ** es_rowmarks
int es_parallel_workers_to_launch
List * es_tuple_routing_result_relations
struct JitContext * es_jit
PlannedStmt * es_plannedstmt
QueryEnvironment * es_queryEnv
ResultRelInfo ** es_result_relations
struct JitInstrumentation * es_jit_worker_instr
ParamExecData * es_param_exec_vals
uint64 es_total_processed
ParamListInfo es_param_list_info
List * es_insert_pending_result_relations
MemoryContext es_query_cxt
ScanDirection es_direction
struct EPQState * es_epq_active
PartitionDirectory es_partition_directory
List * es_trig_target_relations
List * es_opened_result_relations
bool es_use_parallel_mode
ExprContext * es_per_tuple_exprcontext
int es_parallel_workers_launched
Index es_range_table_size
List * es_insert_pending_modifytables
const char * es_sourceText
List * es_auxmodifytables
JunkFilter * es_junkFilter
Snapshot es_crosscheck_snapshot
LockClauseStrength strength
LockWaitPolicy waitPolicy
struct ExprContext_CB * next
ParamListInfo ecxt_param_list_info
MemoryContext ecxt_per_tuple_memory
TupleTableSlot * ecxt_innertuple
ParamExecData * ecxt_param_exec_vals
TupleTableSlot * ecxt_scantuple
MemoryContext ecxt_per_query_memory
ExprContext_CB * ecxt_callbacks
struct EState * ecxt_estate
TupleTableSlot * ecxt_outertuple
struct ExprEvalStep * steps
ExprStateEvalFunc evalfunc
Datum * innermost_domainval
bool * innermost_domainnull
TupleTableSlot * resultslot
struct PlanState * parent
bool * innermost_casenull
Datum * innermost_caseval
ErrorSaveContext * escontext
struct FdwRoutine * fdwroutine
ExprState * fdw_recheck_quals
ResultRelInfo * resultRelInfo
struct FunctionScanPerFuncState * funcstates
struct ParallelExecutorInfo * pei
struct TupleQueueReader ** reader
struct GMReaderTupleBuffer * gm_tuple_buffers
TupleTableSlot ** gm_slots
bool need_to_scan_locally
struct binaryheap * gm_heap
TupleTableSlot * funnel_slot
struct ParallelExecutorInfo * pei
struct TupleQueueReader ** reader
bool need_to_scan_locally
HashJoinTuple hj_CurTuple
TupleTableSlot * hj_NullOuterTupleSlot
TupleTableSlot * hj_OuterTupleSlot
TupleTableSlot * hj_NullInnerTupleSlot
TupleTableSlot * hj_FirstOuterTupleSlot
HashJoinTable hj_HashTable
TupleTableSlot * hj_HashTupleSlot
struct ParallelHashJoinState * parallel_state
SharedHashInfo * shared_info
FmgrInfo * skew_hashfunction
HashInstrumentation * hinstrument
int64 totalMemorySpaceUsed
IncrementalSortGroupInfo prefixsortGroupInfo
IncrementalSortGroupInfo fullsortGroupInfo
Tuplesortstate * prefixsort_state
TupleTableSlot * group_pivot
TupleTableSlot * transfer_tuple
Tuplesortstate * fullsort_state
SharedIncrementalSortInfo * shared_info
IncrementalSortExecutionStatus execution_status
PresortedKeyData * presorted_keys
IncrementalSortInfo incsort_info
int64 n_fullsort_remaining
struct ScanKeyData * scan_key
uint16 * ii_ExclusionStrats
ExprState * ii_PredicateState
List * ii_ExpressionsState
AttrNumber ii_IndexAttrNumbers[INDEX_MAX_KEYS]
TupleTableSlot * ioss_TableSlot
bool ioss_RuntimeKeysReady
int ioss_NameCStringCount
struct ScanKeyData * ioss_ScanKeys
struct ScanKeyData * ioss_OrderByKeys
struct IndexScanDescData * ioss_ScanDesc
ExprContext * ioss_RuntimeContext
AttrNumber * ioss_NameCStringAttNums
Relation ioss_RelationDesc
IndexRuntimeKeyInfo * ioss_RuntimeKeys
struct ScanKeyData * scan_key
bool * iss_OrderByTypByVals
struct IndexScanDescData * iss_ScanDesc
ExprState * indexqualorig
Relation iss_RelationDesc
pairingheap * iss_ReorderQueue
bool iss_RuntimeKeysReady
SortSupport iss_SortSupport
struct ScanKeyData * iss_ScanKeys
ExprContext * iss_RuntimeContext
struct ScanKeyData * iss_OrderByKeys
Datum * iss_OrderByValues
int16 * iss_OrderByTypLens
IndexRuntimeKeyInfo * iss_RuntimeKeys
FunctionCallInfo input_fcinfo
ErrorSaveContext escontext
NullableDatum formatted_expr
TupleDesc jf_cleanTupType
TupleTableSlot * jf_resultSlot
TupleTableSlot * last_slot
Tuplestorestate * tuplestorestate
TupleTableSlot * probeslot
SharedMemoizeInfo * shared_info
struct MemoizeEntry * entry
ExprState * cache_eq_expr
MemoizeInstrumentation stats
MemoryContext tableContext
struct memoize_hash * hashtable
TupleTableSlot * tableslot
struct MemoizeTuple * last_tuple
ProjectionInfo * mas_proj
Bitmapset * ms_valid_subplans
struct binaryheap * ms_heap
TupleTableSlot ** ms_slots
struct PartitionPruneState * ms_prune_state
TupleTableSlot * mj_MarkedTupleSlot
TupleTableSlot * mj_NullInnerTupleSlot
ExprContext * mj_InnerEContext
TupleTableSlot * mj_NullOuterTupleSlot
MergeJoinClause mj_Clauses
TupleTableSlot * mj_InnerTupleSlot
ExprContext * mj_OuterEContext
TupleTableSlot * mj_OuterTupleSlot
TupleTableSlot * mt_merge_pending_not_matched
ResultRelInfo * resultRelInfo
struct PartitionTupleRouting * mt_partition_tuple_routing
TupleTableSlot * mt_root_tuple_slot
ResultRelInfo * rootResultRelInfo
struct TransitionCaptureState * mt_transition_capture
struct TransitionCaptureState * mt_oc_transition_capture
MergeActionState * mt_merge_action
Tuplestorestate * relation
TupleTableSlot * nl_NullInnerTupleSlot
TupleTableSlot * oc_ProjSlot
TupleTableSlot * oc_Existing
ExprState * oc_WhereClause
ProjectionInfo * oc_ProjInfo
dsa_pointer prefetch_iterator
const TupleTableSlotOps * resultops
struct SharedJitInstrumentation * worker_jit_instrument
Instrumentation * instrument
ExecProcNodeMtd ExecProcNodeReal
const TupleTableSlotOps * outerops
const TupleTableSlotOps * innerops
struct PlanState * righttree
const TupleTableSlotOps * scanops
TupleDesc ps_ResultTupleDesc
WorkerInstrumentation * worker_instrument
pg_node_attr(abstract) NodeTag type
ExprContext * ps_ExprContext
TupleTableSlot * ps_ResultTupleSlot
ProjectionInfo * ps_ProjInfo
struct PlanState * lefttree
ExecProcNodeMtd ExecProcNode
ExprContext * pi_exprContext
MemoryContext tempContext
MemoryContext tableContext
Tuplestorestate * working_table
Tuplestorestate * intermediate_table
TupleConversionMap * ri_RootToChildMap
TupleTableSlot * ri_PartitionTupleSlot
bool ri_projectNewInfoValid
OnConflictSetState * ri_onConflict
List * ri_onConflictArbiterIndexes
struct ResultRelInfo * ri_RootResultRelInfo
ExprState ** ri_ConstraintExprs
ExprState * ri_PartitionCheckExpr
Instrumentation * ri_TrigInstrument
TupleTableSlot ** ri_Slots
ExprState * ri_MergeJoinCondition
RelationPtr ri_IndexRelationDescs
TupleTableSlot * ri_ReturningSlot
int ri_NumSlotsInitialized
List * ri_WithCheckOptions
TupleTableSlot * ri_oldTupleSlot
bool ri_RootToChildMapValid
struct CopyMultiInsertBuffer * ri_CopyMultiInsertBuffer
TriggerDesc * ri_TrigDesc
Bitmapset * ri_extraUpdatedCols
ExprState ** ri_GeneratedExprsI
TupleConversionMap * ri_ChildToRootMap
bool ri_ChildToRootMapValid
int ri_NumGeneratedNeededU
List * ri_MergeActions[NUM_MERGE_MATCH_KINDS]
List * ri_ancestorResultRels
TupleTableSlot * ri_newTupleSlot
List * ri_WithCheckOptionExprs
ProjectionInfo * ri_projectNew
ProjectionInfo * ri_projectReturning
ExprState ** ri_GeneratedExprsU
struct FdwRoutine * ri_FdwRoutine
ExprState ** ri_TrigWhenExprs
FmgrInfo * ri_TrigFunctions
TupleTableSlot ** ri_PlanSlots
bool ri_usesFdwDirectModify
IndexInfo ** ri_IndexRelationInfo
TupleTableSlot * ri_TrigNewSlot
int ri_NumGeneratedNeededI
TupleTableSlot * ri_TrigOldSlot
ExprState * resconstantqual
SetFunctionReturnMode returnMode
Tuplestorestate * setResult
struct TsmRoutine * tsmroutine
Relation ss_currentRelation
TupleTableSlot * ss_ScanTupleSlot
struct TableScanDescData * ss_currentScanDesc
TupleTableSlot * funcResultSlot
Tuplestorestate * funcResultStore
ExprState * elidedFuncState
SetOpStatePerGroup pergroup
TupleHashIterator hashiter
MemoryContext tableContext
SharedSortInfo * shared_info
MemoryContext hashtablecxt
ExprContext * innerecontext
FmgrInfo * tab_hash_funcs
MemoryContext hashtempcxt
FmgrInfo * lhs_hash_funcs
struct PlanState * planstate
ProjectionInfo * projLeft
ProjectionInfo * projRight
struct PlanState * parent
MemoryContext perTableCxt
Tuplestorestate * tupstore
const struct TableFuncRoutine * routine
ItemPointerData trss_maxtid
ItemPointerData trss_mintid
ItemPointerData * tss_TidList
FmgrInfo * tab_hash_funcs
TupleTableSlot * tableslot
ExprContext * exprcontext
TupleTableSlot * inputslot