PostgreSQL Source Code git master
Loading...
Searching...
No Matches
AggState Struct Reference

#include <execnodes.h>

Data Fields

ScanState ss
 
Listaggs
 
int numaggs
 
int numtrans
 
AggStrategy aggstrategy
 
AggSplit aggsplit
 
AggStatePerPhase phase
 
int numphases
 
int current_phase
 
AggStatePerAgg peragg
 
AggStatePerTrans pertrans
 
ExprContexthashcontext
 
ExprContext ** aggcontexts
 
ExprContexttmpcontext
 
ExprContextcuraggcontext
 
AggStatePerAgg curperagg
 
AggStatePerTrans curpertrans
 
bool input_done
 
bool agg_done
 
int projected_set
 
int current_set
 
Bitmapsetgrouped_cols
 
Listall_grouped_cols
 
Bitmapsetcolnos_needed
 
int max_colno_needed
 
bool all_cols_needed
 
int maxsets
 
AggStatePerPhase phases
 
Tuplesortstatesort_in
 
Tuplesortstatesort_out
 
TupleTableSlotsort_slot
 
AggStatePerGrouppergroups
 
HeapTuple grp_firstTuple
 
bool table_filled
 
int num_hashes
 
MemoryContext hash_metacxt
 
MemoryContext hash_tuplescxt
 
struct LogicalTapeSethash_tapeset
 
struct HashAggSpillhash_spills
 
TupleTableSlothash_spill_rslot
 
TupleTableSlothash_spill_wslot
 
Listhash_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
 
AggStatePerGrouphash_pergroup
 
AggStatePerGroupall_pergroups
 
SharedAggInfoshared_info
 

Detailed Description

Definition at line 2418 of file execnodes.h.

Field Documentation

◆ agg_done

bool AggState::agg_done

Definition at line 2440 of file execnodes.h.

Referenced by ExecAgg(), and ExecReScanAgg().

◆ aggcontexts

ExprContext** AggState::aggcontexts

Definition at line 2432 of file execnodes.h.

Referenced by ExecEndAgg(), and ExecReScanAgg().

◆ aggs

List* AggState::aggs

Definition at line 2421 of file execnodes.h.

◆ aggsplit

AggSplit AggState::aggsplit

Definition at line 2425 of file execnodes.h.

◆ aggstrategy

AggStrategy AggState::aggstrategy

Definition at line 2424 of file execnodes.h.

Referenced by ExecReScanAgg().

◆ all_cols_needed

bool AggState::all_cols_needed

Definition at line 2448 of file execnodes.h.

◆ all_grouped_cols

List* AggState::all_grouped_cols

Definition at line 2445 of file execnodes.h.

◆ all_pergroups

AggStatePerGroup* AggState::all_pergroups

Definition at line 2490 of file execnodes.h.

◆ colnos_needed

Bitmapset* AggState::colnos_needed

Definition at line 2446 of file execnodes.h.

◆ curaggcontext

ExprContext* AggState::curaggcontext

Definition at line 2435 of file execnodes.h.

◆ curperagg

AggStatePerAgg AggState::curperagg

Definition at line 2436 of file execnodes.h.

◆ curpertrans

AggStatePerTrans AggState::curpertrans

Definition at line 2438 of file execnodes.h.

◆ current_phase

int AggState::current_phase

Definition at line 2428 of file execnodes.h.

◆ current_set

int AggState::current_set

Definition at line 2443 of file execnodes.h.

◆ grouped_cols

Bitmapset* AggState::grouped_cols

Definition at line 2444 of file execnodes.h.

◆ grp_firstTuple

HeapTuple AggState::grp_firstTuple

Definition at line 2458 of file execnodes.h.

Referenced by ExecReScanAgg().

◆ hash_batches

List* AggState::hash_batches

Definition at line 2469 of file execnodes.h.

◆ hash_batches_used

int AggState::hash_batches_used

Definition at line 2482 of file execnodes.h.

Referenced by ExecEndAgg().

◆ hash_disk_used

uint64 AggState::hash_disk_used

Definition at line 2481 of file execnodes.h.

Referenced by ExecEndAgg().

◆ hash_ever_spilled

bool AggState::hash_ever_spilled

Definition at line 2470 of file execnodes.h.

Referenced by ExecReScanAgg().

◆ hash_mem_limit

Size AggState::hash_mem_limit

Definition at line 2473 of file execnodes.h.

◆ hash_mem_peak

Size AggState::hash_mem_peak

Definition at line 2478 of file execnodes.h.

Referenced by ExecEndAgg().

◆ hash_metacxt

MemoryContext AggState::hash_metacxt

Definition at line 2462 of file execnodes.h.

Referenced by ExecEndAgg().

◆ hash_ngroups_current

uint64 AggState::hash_ngroups_current

Definition at line 2479 of file execnodes.h.

Referenced by ExecReScanAgg().

◆ hash_ngroups_limit

uint64 AggState::hash_ngroups_limit

Definition at line 2474 of file execnodes.h.

◆ hash_pergroup

AggStatePerGroup* AggState::hash_pergroup

Definition at line 2485 of file execnodes.h.

◆ hash_planned_partitions

int AggState::hash_planned_partitions

Definition at line 2475 of file execnodes.h.

◆ hash_spill_mode

bool AggState::hash_spill_mode

Definition at line 2471 of file execnodes.h.

Referenced by ExecReScanAgg().

◆ hash_spill_rslot

TupleTableSlot* AggState::hash_spill_rslot

Definition at line 2467 of file execnodes.h.

◆ hash_spill_wslot

TupleTableSlot* AggState::hash_spill_wslot

Definition at line 2468 of file execnodes.h.

◆ hash_spills

struct HashAggSpill* AggState::hash_spills

Definition at line 2465 of file execnodes.h.

◆ hash_tapeset

struct LogicalTapeSet* AggState::hash_tapeset

Definition at line 2464 of file execnodes.h.

◆ hash_tuplescxt

MemoryContext AggState::hash_tuplescxt

Definition at line 2463 of file execnodes.h.

Referenced by ExecEndAgg().

◆ hashcontext

ExprContext* AggState::hashcontext

Definition at line 2431 of file execnodes.h.

Referenced by ExecEndAgg(), and ExecReScanAgg().

◆ hashentrysize

double AggState::hashentrysize

Definition at line 2477 of file execnodes.h.

◆ input_done

bool AggState::input_done

Definition at line 2439 of file execnodes.h.

Referenced by ExecReScanAgg().

◆ max_colno_needed

int AggState::max_colno_needed

Definition at line 2447 of file execnodes.h.

◆ maxsets

int AggState::maxsets

Definition at line 2450 of file execnodes.h.

Referenced by ExecEndAgg(), and ExecReScanAgg().

◆ num_hashes

int AggState::num_hashes

Definition at line 2461 of file execnodes.h.

◆ numaggs

int AggState::numaggs

Definition at line 2422 of file execnodes.h.

Referenced by ExecReScanAgg().

◆ numphases

int AggState::numphases

Definition at line 2427 of file execnodes.h.

◆ numtrans

int AggState::numtrans

Definition at line 2423 of file execnodes.h.

Referenced by ExecEndAgg(), and ExecReScanAgg().

◆ peragg

AggStatePerAgg AggState::peragg

Definition at line 2429 of file execnodes.h.

◆ pergroups

AggStatePerGroup* AggState::pergroups

Definition at line 2456 of file execnodes.h.

Referenced by ExecReScanAgg().

◆ perhash

AggStatePerHash AggState::perhash

Definition at line 2484 of file execnodes.h.

Referenced by ExecReScanAgg().

◆ pertrans

AggStatePerTrans AggState::pertrans

Definition at line 2430 of file execnodes.h.

Referenced by ExecEndAgg(), and ExecReScanAgg().

◆ phase

AggStatePerPhase AggState::phase

Definition at line 2426 of file execnodes.h.

Referenced by ExecAgg().

◆ phases

AggStatePerPhase AggState::phases

Definition at line 2451 of file execnodes.h.

◆ projected_set

int AggState::projected_set

Definition at line 2441 of file execnodes.h.

Referenced by ExecReScanAgg().

◆ shared_info

SharedAggInfo* AggState::shared_info

◆ sort_in

Tuplesortstate* AggState::sort_in

Definition at line 2452 of file execnodes.h.

Referenced by ExecEndAgg().

◆ sort_out

Tuplesortstate* AggState::sort_out

Definition at line 2453 of file execnodes.h.

Referenced by ExecEndAgg().

◆ sort_slot

TupleTableSlot* AggState::sort_slot

Definition at line 2454 of file execnodes.h.

◆ ss

◆ table_filled

bool AggState::table_filled

Definition at line 2460 of file execnodes.h.

Referenced by ExecAgg(), and ExecReScanAgg().

◆ tmpcontext

ExprContext* AggState::tmpcontext

Definition at line 2433 of file execnodes.h.


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