]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Update typedefs.list to match what the buildfarm currently reports.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 14 Dec 2025 22:03:53 +0000 (17:03 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 14 Dec 2025 22:03:53 +0000 (17:03 -0500)
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

15 files changed:
src/backend/access/heap/rewriteheap.c
src/backend/access/transam/twophase.c
src/backend/executor/nodeWindowAgg.c
src/backend/partitioning/partdesc.c
src/backend/utils/adt/arrayfuncs.c
src/include/access/gin_private.h
src/include/access/heapam.h
src/include/access/relscan.h
src/include/executor/nodeAgg.h
src/include/nodes/execnodes.h
src/include/nodes/pathnodes.h
src/include/utils/skipsupport.h
src/include/utils/tuplesort.h
src/test/modules/test_int128/test_int128.c
src/tools/pgindent/typedefs.list

index 7ce3c5e268546a05257ba8b024864b63d1a13650..3b3c87fd62ed8ba07e7e7a44d5e01c8722b12487 100644 (file)
@@ -150,7 +150,7 @@ typedef struct RewriteStateData
        HTAB       *rs_old_new_tid_map; /* unmatched B tuples */
        HTAB       *rs_logical_mappings;        /* logical remapping files */
        uint32          rs_num_rewrite_mappings;        /* # in memory mappings */
-}                      RewriteStateData;
+} RewriteStateData;
 
 /*
  * The lookup keys for the hash tables are tuple TID and xmin (we must check
index ec4e3628bd550892ebc6a51558f08c04b9e51c0f..3bc8598682988c0e5bf453ae080110bccd67c38b 100644 (file)
@@ -168,7 +168,7 @@ typedef struct GlobalTransactionData
        bool            ondisk;                 /* true if prepare state file is on disk */
        bool            inredo;                 /* true if entry was added via xlog_redo */
        char            gid[GIDSIZE];   /* The GID assigned to the prepared xact */
-}                      GlobalTransactionData;
+} GlobalTransactionData;
 
 /*
  * Two Phase Commit shared state.  Access to this struct is protected
index c0e5ab8dbbf09ea4ed5a32f2519647547661828c..d92d632e248d2921a458b47c519c5cbbbb739c7f 100644 (file)
@@ -109,7 +109,7 @@ typedef struct WindowStatePerFuncData
        uint8           ignore_nulls;   /* ignore nulls */
 
        WindowObject winobj;            /* object used in window function API */
-}                      WindowStatePerFuncData;
+} WindowStatePerFuncData;
 
 /*
  * For plain aggregate window functions, we also have one of these.
index 5624f503fec0ce39a41a74e8d05de1e02f8cd55e..985f48fc34dad5381c11c8ac85e6b6ce50b105f8 100644 (file)
@@ -37,7 +37,7 @@ typedef struct PartitionDirectoryData
        MemoryContext pdir_mcxt;
        HTAB       *pdir_hash;
        bool            omit_detached;
-}                      PartitionDirectoryData;
+} PartitionDirectoryData;
 
 typedef struct PartitionDirectoryEntry
 {
index b67ce57656a41705b2e31b54041b26bc79c292a6..bf54655bb964b0aa762fb9ccf5349c377e37fdd1 100644 (file)
@@ -87,7 +87,7 @@ typedef struct ArrayIteratorData
        /* current position information, updated on each iteration */
        char       *data_ptr;           /* our current position in the array */
        int                     current_item;   /* the item # we're at in the array */
-}                      ArrayIteratorData;
+} ArrayIteratorData;
 
 static bool ReadArrayDimensions(char **srcptr, int *ndim_p,
                                                                int *dim, int *lBound,
index db19ffd9897634e24b576bf954a361df3fd3925c..d2a3adcc5e51d0778e65a181a2738fc3aac272cc 100644 (file)
@@ -373,7 +373,7 @@ typedef struct GinScanEntryData
        bool            reduceResult;
        uint32          predictNumberResult;
        GinBtreeData btree;
-}                      GinScanEntryData;
+} GinScanEntryData;
 
 typedef struct GinScanOpaqueData
 {
index 632c4332a8c347e7da311aad428efa3a30ca827e..f7e4ae3843c5f74d07979104a3048c8fec13dccb 100644 (file)
@@ -106,7 +106,7 @@ typedef struct BitmapHeapScanDescData
        HeapScanDescData rs_heap_base;
 
        /* Holds no data */
-}                      BitmapHeapScanDescData;
+} BitmapHeapScanDescData;
 typedef struct BitmapHeapScanDescData *BitmapHeapScanDesc;
 
 /*
index 87a8be104619eec499cdcfdd4033734395116af6..78989a959d4efa7cd6f6377af3c708f46eb2fb61 100644 (file)
@@ -191,7 +191,7 @@ typedef struct IndexScanDescData
 
        /* parallel index scan information, in shared memory */
        struct ParallelIndexScanDescData *parallel_scan;
-}                      IndexScanDescData;
+} IndexScanDescData;
 
 /* Generic structure for parallel scans */
 typedef struct ParallelIndexScanDescData
@@ -214,6 +214,6 @@ typedef struct SysScanDescData
        struct IndexScanDescData *iscan;        /* only valid in index-scan case */
        struct SnapshotData *snapshot;  /* snapshot to unregister at end of scan */
        struct TupleTableSlot *slot;
-}                      SysScanDescData;
+} SysScanDescData;
 
 #endif                                                 /* RELSCAN_H */
index 6c4891bbaeb49e95d0f0c210712bc8e55acbd6cf..df52fa1e1afcd2aaaa52aed69c9623d9c1463d43 100644 (file)
@@ -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);
index 64ff6996431ebb3894c4f0a3a781c5f707fe8155..3968429f991941be653e44c5f4e550dc1ff65f85 100644 (file)
@@ -882,7 +882,7 @@ typedef struct TupleHashTableData
        ExprState  *in_hash_expr;       /* ExprState for hashing input datatype(s) */
        ExprState  *cur_eq_func;        /* comparator for input vs. table */
        ExprContext *exprcontext;       /* expression context */
-}                      TupleHashTableData;
+} TupleHashTableData;
 
 typedef tuplehash_iterator TupleHashIterator;
 
index 46a8655621d5a1ed85d4be2ea78deb127a43760e..b5ff456ef7fab88a77bd10e1e75060fe5f96c5ac 100644 (file)
@@ -639,7 +639,7 @@ typedef struct PartitionSchemeData
 
        /* Cached information about partition comparison functions. */
        struct FmgrInfo *partsupfunc;
-}                      PartitionSchemeData;
+} PartitionSchemeData;
 
 typedef struct PartitionSchemeData *PartitionScheme;
 
index c42be001fb546c4af2b5d85b00a7bf1360a4b024..bc51847cf617a2e5c3d73db15aaad55e8a5451e0 100644 (file)
@@ -90,7 +90,7 @@ typedef struct SkipSupportData
         */
        SkipSupportIncDec decrement;
        SkipSupportIncDec increment;
-}                      SkipSupportData;
+} SkipSupportData;
 
 extern SkipSupport PrepareSkipSupportFromOpclass(Oid opfamily, Oid opcintype,
                                                                                                 bool reverse);
index 0bf55902aa1b816be40965a2fe368c0a0f04f30f..63a7cc13a31c045f896f064c125b79d9e8ef4a6e 100644 (file)
@@ -57,7 +57,7 @@ typedef struct SortCoordinateData
 
        /* Private opaque state (points to shared memory) */
        Sharedsort *sharedsort;
-}                      SortCoordinateData;
+} SortCoordinateData;
 
 typedef struct SortCoordinateData *SortCoordinate;
 
index 1efd4ff68b3a69bb2f9ab306495afff129f3c3dd..f4c4f3a1de0fc56d98042488a4a16f2dae12a237 100644 (file)
@@ -51,7 +51,7 @@ typedef union
                int64           hi;
 #endif
        }                       hl;
-}                      test128;
+} test128;
 
 #define INT128_HEX_FORMAT      "%016" PRIx64 "%016" PRIx64
 
index efa32dc1295f394b54800e744d4ad4dc00333bf8..d7459af2ba3e1cf5e9f72c8f0402e72e5ae2d1b8 100644 (file)
@@ -48,10 +48,15 @@ AggPath
 AggSplit
 AggState
 AggStatePerAgg
+AggStatePerAggData
 AggStatePerGroup
+AggStatePerGroupData
 AggStatePerHash
+AggStatePerHashData
 AggStatePerPhase
+AggStatePerPhaseData
 AggStatePerTrans
+AggStatePerTransData
 AggStrategy
 AggTransInfo
 Aggref
@@ -151,6 +156,7 @@ ArrayExpr
 ArrayExprIterState
 ArrayIOData
 ArrayIterator
+ArrayIteratorData
 ArrayMapState
 ArrayMetaState
 ArraySortCachedInfo
@@ -268,6 +274,7 @@ BitmapAndState
 BitmapHeapPath
 BitmapHeapScan
 BitmapHeapScanDesc
+BitmapHeapScanDescData
 BitmapHeapScanInstrumentation
 BitmapHeapScanState
 BitmapIndexScan
@@ -618,7 +625,6 @@ DatumTupleFields
 DbInfo
 DbInfoArr
 DbLocaleInfo
-DbOidName
 DeClonePtrType
 DeadLockState
 DeallocateStmt
@@ -1078,6 +1084,7 @@ GinPostingList
 GinPostingTreeScanItem
 GinQualCounts
 GinScanEntry
+GinScanEntryData
 GinScanItem
 GinScanKey
 GinScanKeyData
@@ -1102,6 +1109,7 @@ GistSplitVector
 GistTsVectorOptions
 GistVacState
 GlobalTransaction
+GlobalTransactionData
 GlobalVisHorizonKind
 GlobalVisState
 GrantRoleOptions
@@ -1273,6 +1281,7 @@ IndexPath
 IndexRuntimeKeyInfo
 IndexScan
 IndexScanDesc
+IndexScanDescData
 IndexScanInstrumentation
 IndexScanState
 IndexStateFlagsAction
@@ -1729,9 +1738,9 @@ MultiSortSupportData
 MultiXactId
 MultiXactMember
 MultiXactOffset
+MultiXactOffset32
 MultiXactStateData
 MultiXactStatus
-MultiXactWriter
 MultirangeIOData
 MultirangeParseState
 MultirangeType
@@ -1752,7 +1761,6 @@ NamedArgExpr
 NamedDSAState
 NamedDSHState
 NamedDSMState
-NamedLWLockTranche
 NamedLWLockTrancheRequest
 NamedTuplestoreScan
 NamedTuplestoreScanState
@@ -2126,6 +2134,7 @@ PartitionCmd
 PartitionDesc
 PartitionDescData
 PartitionDirectory
+PartitionDirectoryData
 PartitionDirectoryEntry
 PartitionDispatch
 PartitionElem
@@ -2145,6 +2154,7 @@ PartitionRangeBound
 PartitionRangeDatum
 PartitionRangeDatumKind
 PartitionScheme
+PartitionSchemeData
 PartitionSpec
 PartitionStrategy
 PartitionTupleRouting
@@ -2298,7 +2308,6 @@ PlannerParamItem
 Point
 Pointer
 PolicyInfo
-PolyNumAggState
 Pool
 PopulateArrayContext
 PopulateArrayState
@@ -2604,6 +2613,7 @@ RewriteMappingDataEntry
 RewriteMappingFile
 RewriteRule
 RewriteState
+RewriteStateData
 RmgrData
 RmgrDescData
 RmgrId
@@ -2805,6 +2815,7 @@ SinglePartitionSpec
 Size
 SkipPages
 SkipSupport
+SkipSupportData
 SkipSupportIncDec
 SlabBlock
 SlabContext
@@ -2835,6 +2846,7 @@ SortBy
 SortByDir
 SortByNulls
 SortCoordinate
+SortCoordinateData
 SortGroupClause
 SortItem
 SortPath
@@ -2870,8 +2882,8 @@ SpecialJoinInfo
 SpinDelayStatus
 SplitInterval
 SplitLR
-SplitPartitionContext
 SplitPageLayout
+SplitPartitionContext
 SplitPoint
 SplitTextOutputData
 SplitVar
@@ -2947,6 +2959,7 @@ SyncStandbySlotsConfigData
 SyncingRelationsState
 SysFKRelationship
 SysScanDesc
+SysScanDescData
 SyscacheCallbackFunction
 SysloggerStartupData
 SystemRowsSamplerData
@@ -3138,6 +3151,7 @@ TupleHashEntry
 TupleHashEntryData
 TupleHashIterator
 TupleHashTable
+TupleHashTableData
 TupleQueueReader
 TupleTableSlot
 TupleTableSlotOps
@@ -3213,7 +3227,6 @@ VacAttrStats
 VacAttrStatsP
 VacDeadItemsInfo
 VacErrPhase
-VacObjFilter
 VacOptValue
 VacuumParams
 VacuumRelation
@@ -3285,10 +3298,10 @@ WaitEventIO
 WaitEventIPC
 WaitEventSet
 WaitEventTimeout
-WaitLSNType
-WaitLSNState
 WaitLSNProcInfo
 WaitLSNResult
+WaitLSNState
+WaitLSNType
 WaitPMResult
 WaitStmt
 WalCloseMethod
@@ -3331,6 +3344,7 @@ WindowObjectData
 WindowStatePerAgg
 WindowStatePerAggData
 WindowStatePerFunc
+WindowStatePerFuncData
 WithCheckOption
 WithClause
 WordBoundaryNext
@@ -3944,7 +3958,6 @@ pg_unicode_recompinfo
 pg_usec_time_t
 pg_utf_to_local_combined
 pg_uuid_t
-pg_wc_probefunc
 pg_wchar
 pg_wchar_tbl
 pgp_armor_headers_state
@@ -3965,6 +3978,8 @@ pgthreadlock_t
 pid_t
 pivot_field
 planner_hook_type
+planner_setup_hook_type
+planner_shutdown_hook_type
 planstate_tree_walker_callback
 plperl_array_info
 plperl_call_data
@@ -4039,6 +4054,7 @@ reduce_outer_joins_partial_state
 reduce_outer_joins_pass1_state
 reduce_outer_joins_pass2_state
 reference
+regc_wc_probefunc
 regex_arc_t
 regexp
 regexp_matches_ctx
@@ -4165,6 +4181,7 @@ tar_file
 td_entry
 teSection
 temp_tablespaces_extra
+test128
 test_re_flags
 test_regex_ctx
 test_shm_mq_header
@@ -4236,6 +4253,7 @@ varatt_expanded
 varattrib_1b
 varattrib_1b_e
 varattrib_4b
+vartag_external
 vbits
 verifier_context
 walrcv_alter_slot_fn
@@ -4364,7 +4382,6 @@ xmlGenericErrorFunc
 xmlNodePtr
 xmlNodeSetPtr
 xmlParserCtxtPtr
-xmlParserErrors
 xmlParserInputPtr
 xmlSaveCtxt
 xmlSaveCtxtPtr