mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-24 23:37:03 +08:00
Update typedefs.list to match what the buildfarm currently reports.
The current list from the buildfarm includes quite a few typedef names that it used to miss. The reason is a bit obscure, but it seems likely to have something to do with our recent increased use of palloc_object and palloc_array. In any case, this makes the relevant struct declarations be much more nicely formatted, so I'll take it. Install the current list and re-run pgindent to update affected code. Syncing with the current list also removes some obsolete typedef names and fixes some alphabetization errors. Discussion: https://postgr.es/m/1681301.1765742268@sss.pgh.pa.us
This commit is contained in:
@ -173,7 +173,7 @@ typedef struct AggStatePerTransData
|
||||
FunctionCallInfo serialfn_fcinfo;
|
||||
|
||||
FunctionCallInfo deserialfn_fcinfo;
|
||||
} AggStatePerTransData;
|
||||
} AggStatePerTransData;
|
||||
|
||||
/*
|
||||
* AggStatePerAggData - per-aggregate information
|
||||
@ -229,7 +229,7 @@ typedef struct AggStatePerAggData
|
||||
* aggregates because the final function is read-write.
|
||||
*/
|
||||
bool shareable;
|
||||
} AggStatePerAggData;
|
||||
} AggStatePerAggData;
|
||||
|
||||
/*
|
||||
* AggStatePerGroupData - per-aggregate-per-group working state
|
||||
@ -264,7 +264,7 @@ typedef struct AggStatePerGroupData
|
||||
* NULL and not auto-replace it with a later input value. Only the first
|
||||
* non-NULL input will be auto-substituted.
|
||||
*/
|
||||
} AggStatePerGroupData;
|
||||
} AggStatePerGroupData;
|
||||
|
||||
/*
|
||||
* AggStatePerPhaseData - per-grouping-set-phase state
|
||||
@ -297,7 +297,7 @@ typedef struct AggStatePerPhaseData
|
||||
*----------
|
||||
*/
|
||||
ExprState *evaltrans_cache[2][2];
|
||||
} AggStatePerPhaseData;
|
||||
} AggStatePerPhaseData;
|
||||
|
||||
/*
|
||||
* AggStatePerHashData - per-hashtable state
|
||||
@ -319,7 +319,7 @@ typedef struct AggStatePerHashData
|
||||
AttrNumber *hashGrpColIdxInput; /* hash col indices in input slot */
|
||||
AttrNumber *hashGrpColIdxHash; /* indices in hash table tuples */
|
||||
Agg *aggnode; /* original Agg node, for numGroups etc. */
|
||||
} AggStatePerHashData;
|
||||
} AggStatePerHashData;
|
||||
|
||||
|
||||
extern AggState *ExecInitAgg(Agg *node, EState *estate, int eflags);
|
||||
|
||||
Reference in New Issue
Block a user