PostgreSQL Source Code  git master
AggStatePerTransData Struct Reference

#include <nodeAgg.h>

Data Fields

Aggrefaggref
 
bool aggshared
 
bool aggsortrequired
 
int numInputs
 
int numTransInputs
 
Oid transfn_oid
 
Oid serialfn_oid
 
Oid deserialfn_oid
 
Oid aggtranstype
 
FmgrInfo transfn
 
FmgrInfo serialfn
 
FmgrInfo deserialfn
 
Oid aggCollation
 
int numSortCols
 
int numDistinctCols
 
AttrNumbersortColIdx
 
OidsortOperators
 
OidsortCollations
 
boolsortNullsFirst
 
FmgrInfo equalfnOne
 
ExprStateequalfnMulti
 
Datum initValue
 
bool initValueIsNull
 
int16 inputtypeLen
 
int16 transtypeLen
 
bool inputtypeByVal
 
bool transtypeByVal
 
TupleTableSlotsortslot
 
TupleTableSlotuniqslot
 
TupleDesc sortdesc
 
Datum lastdatum
 
bool lastisnull
 
bool haslast
 
Tuplesortstate ** sortstates
 
FunctionCallInfo transfn_fcinfo
 
FunctionCallInfo serialfn_fcinfo
 
FunctionCallInfo deserialfn_fcinfo
 

Detailed Description

Definition at line 30 of file nodeAgg.h.

Field Documentation

◆ aggCollation

Oid AggStatePerTransData::aggCollation

◆ aggref

Aggref* AggStatePerTransData::aggref

Definition at line 44 of file nodeAgg.h.

Referenced by AggGetAggref(), build_pertrans_for_aggref(), ExecBuildAggTrans(), and ExecInitAgg().

◆ aggshared

bool AggStatePerTransData::aggshared

Definition at line 49 of file nodeAgg.h.

Referenced by AggStateIsShared(), build_pertrans_for_aggref(), and ExecInitAgg().

◆ aggsortrequired

bool AggStatePerTransData::aggsortrequired

◆ aggtranstype

Oid AggStatePerTransData::aggtranstype

Definition at line 80 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref().

◆ deserialfn

FmgrInfo AggStatePerTransData::deserialfn

Definition at line 92 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref(), and ExecBuildAggTrans().

◆ deserialfn_fcinfo

FunctionCallInfo AggStatePerTransData::deserialfn_fcinfo

Definition at line 175 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref(), and ExecBuildAggTrans().

◆ deserialfn_oid

Oid AggStatePerTransData::deserialfn_oid

Definition at line 77 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref(), and ExecBuildAggTrans().

◆ equalfnMulti

ExprState* AggStatePerTransData::equalfnMulti

◆ equalfnOne

FmgrInfo AggStatePerTransData::equalfnOne

◆ haslast

bool AggStatePerTransData::haslast

◆ initValue

Datum AggStatePerTransData::initValue

Definition at line 121 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref(), and initialize_aggregate().

◆ initValueIsNull

bool AggStatePerTransData::initValueIsNull

◆ inputtypeByVal

bool AggStatePerTransData::inputtypeByVal

◆ inputtypeLen

int16 AggStatePerTransData::inputtypeLen

◆ lastdatum

Datum AggStatePerTransData::lastdatum

Definition at line 144 of file nodeAgg.h.

Referenced by ExecEvalPreOrderedDistinctSingle(), and finalize_aggregates().

◆ lastisnull

bool AggStatePerTransData::lastisnull

Definition at line 145 of file nodeAgg.h.

Referenced by ExecEvalPreOrderedDistinctSingle(), and finalize_aggregates().

◆ numDistinctCols

int AggStatePerTransData::numDistinctCols

◆ numInputs

◆ numSortCols

int AggStatePerTransData::numSortCols

Definition at line 98 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref(), ExecBuildAggTrans(), and initialize_aggregate().

◆ numTransInputs

◆ serialfn

FmgrInfo AggStatePerTransData::serialfn

Definition at line 89 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref(), and finalize_partialaggregate().

◆ serialfn_fcinfo

FunctionCallInfo AggStatePerTransData::serialfn_fcinfo

Definition at line 173 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref(), and finalize_partialaggregate().

◆ serialfn_oid

Oid AggStatePerTransData::serialfn_oid

Definition at line 74 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref(), and finalize_partialaggregate().

◆ sortColIdx

AttrNumber* AggStatePerTransData::sortColIdx

Definition at line 105 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref(), and initialize_aggregate().

◆ sortCollations

Oid* AggStatePerTransData::sortCollations

Definition at line 107 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref(), and initialize_aggregate().

◆ sortdesc

TupleDesc AggStatePerTransData::sortdesc

Definition at line 143 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref(), and initialize_aggregate().

◆ sortNullsFirst

bool* AggStatePerTransData::sortNullsFirst

Definition at line 108 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref(), and initialize_aggregate().

◆ sortOperators

Oid* AggStatePerTransData::sortOperators

Definition at line 106 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref(), and initialize_aggregate().

◆ sortslot

◆ sortstates

◆ transfn

FmgrInfo AggStatePerTransData::transfn

Definition at line 86 of file nodeAgg.h.

Referenced by advance_transition_function(), build_pertrans_for_aggref(), and ExecInitAgg().

◆ transfn_fcinfo

◆ transfn_oid

Oid AggStatePerTransData::transfn_oid

Definition at line 71 of file nodeAgg.h.

Referenced by build_pertrans_for_aggref().

◆ transtypeByVal

◆ transtypeLen

◆ uniqslot


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