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

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

Data Fields
ScanState ss
List * aggs
int numaggs
int numtrans
AggStrategy aggstrategy
AggSplit aggsplit
AggStatePerPhase phase
int numphases
int current_phase
AggStatePerAgg peragg
AggStatePerTrans pertrans
ExprContext * hashcontext
ExprContext ** aggcontexts
ExprContext * tmpcontext
ExprContext * curaggcontext
AggStatePerAgg curperagg
AggStatePerTrans curpertrans
bool input_done
bool agg_done
int projected_set
int current_set
Bitmapset * grouped_cols
List * all_grouped_cols
Bitmapset * colnos_needed
int max_colno_needed
bool all_cols_needed
int maxsets
AggStatePerPhase phases
Tuplesortstate * sort_in
Tuplesortstate * sort_out
TupleTableSlot * sort_slot
AggStatePerGroup * pergroups
HeapTuple grp_firstTuple
bool table_filled
int num_hashes
MemoryContext hash_metacxt
MemoryContext hash_tablecxt
struct LogicalTapeSet * hash_tapeset
struct HashAggSpill * hash_spills
TupleTableSlot * hash_spill_rslot
TupleTableSlot * hash_spill_wslot
List * hash_batches
bool hash_ever_spilled
bool hash_spill_mode
Size hash_mem_limit
uint64 hash_ngroups_limit
int hash_planned_partitions
double hashentrysize
Size hash_mem_peak
uint64 hash_ngroups_current
uint64 hash_disk_used
int hash_batches_used
AggStatePerHash perhash
AggStatePerGroup * hash_pergroup
AggStatePerGroup * all_pergroups
SharedAggInfo * shared_info

Definition at line 2525 of file execnodes.h.

agg_done

aggcontexts

aggs

aggsplit

aggstrategy

all_cols_needed

bool AggState::all_cols_needed

all_grouped_cols

List* AggState::all_grouped_cols

all_pergroups

colnos_needed

curaggcontext

curperagg

curpertrans

current_phase

int AggState::current_phase

current_set

int AggState::current_set

grouped_cols

grp_firstTuple

hash_batches

List* AggState::hash_batches

hash_batches_used

int AggState::hash_batches_used

hash_disk_used

uint64 AggState::hash_disk_used

hash_ever_spilled

bool AggState::hash_ever_spilled

hash_mem_limit

Size AggState::hash_mem_limit

hash_mem_peak

Size AggState::hash_mem_peak

hash_metacxt

hash_ngroups_current

uint64 AggState::hash_ngroups_current

hash_ngroups_limit

uint64 AggState::hash_ngroups_limit

hash_pergroup

hash_planned_partitions

int AggState::hash_planned_partitions

hash_spill_mode

bool AggState::hash_spill_mode

hash_spill_rslot

hash_spill_wslot

hash_spills

hash_tablecxt

hash_tapeset

hashcontext

hashentrysize

double AggState::hashentrysize

input_done

bool AggState::input_done

max_colno_needed

int AggState::max_colno_needed

maxsets

num_hashes

numaggs

numphases

numtrans

peragg

pergroups

perhash

Definition at line 2591 of file execnodes.h.

Referenced by agg_fill_hash_table(), agg_refill_hash_table(), agg_retrieve_direct(), agg_retrieve_hash_table_in_memory(), build_hash_table(), build_hash_tables(), ExecInitAgg(), ExecReScanAgg(), find_hash_columns(), hash_agg_enter_spill_mode(), and lookup_hash_entries().

pertrans

phase

phases

projected_set

int AggState::projected_set

shared_info

sort_in

sort_out

sort_slot

ss

Definition at line 2527 of file execnodes.h.

Referenced by agg_retrieve_direct(), agg_retrieve_hash_table_in_memory(), build_hash_table(), build_pertrans_for_aggref(), ExecAggEstimate(), ExecAggInitializeDSM(), ExecAggInitializeWorker(), ExecBuildAggTrans(), ExecInitAgg(), ExecReScanAgg(), finalize_aggregate(), finalize_aggregates(), finalize_partialaggregate(), find_cols(), find_hash_columns(), hash_create_memory(), hashagg_recompile_expressions(), project_aggregates(), show_agg_keys(), and show_hashagg_info().

table_filled

bool AggState::table_filled

tmpcontext

Definition at line 2540 of file execnodes.h.

Referenced by advance_aggregates(), advance_transition_function(), agg_fill_hash_table(), agg_refill_hash_table(), agg_retrieve_direct(), AggGetTempMemoryContext(), build_hash_table(), ExecAggPlainTransByRef(), ExecAggPlainTransByVal(), ExecEvalPreOrderedDistinctMulti(), ExecInitAgg(), ExecInterpExpr(), lookup_hash_entries(), process_ordered_aggregate_multi(), and process_ordered_aggregate_single().


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