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
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
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
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.
MemoryContext pdir_mcxt;
HTAB *pdir_hash;
bool omit_detached;
-} PartitionDirectoryData;
+} PartitionDirectoryData;
typedef struct PartitionDirectoryEntry
{
/* 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,
bool reduceResult;
uint32 predictNumberResult;
GinBtreeData btree;
-} GinScanEntryData;
+} GinScanEntryData;
typedef struct GinScanOpaqueData
{
HeapScanDescData rs_heap_base;
/* Holds no data */
-} BitmapHeapScanDescData;
+} BitmapHeapScanDescData;
typedef struct BitmapHeapScanDescData *BitmapHeapScanDesc;
/*
/* parallel index scan information, in shared memory */
struct ParallelIndexScanDescData *parallel_scan;
-} IndexScanDescData;
+} IndexScanDescData;
/* Generic structure for parallel scans */
typedef struct ParallelIndexScanDescData
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 */
FunctionCallInfo serialfn_fcinfo;
FunctionCallInfo deserialfn_fcinfo;
-} AggStatePerTransData;
+} AggStatePerTransData;
/*
* AggStatePerAggData - per-aggregate information
* aggregates because the final function is read-write.
*/
bool shareable;
-} AggStatePerAggData;
+} AggStatePerAggData;
/*
* AggStatePerGroupData - per-aggregate-per-group working state
* 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
*----------
*/
ExprState *evaltrans_cache[2][2];
-} AggStatePerPhaseData;
+} AggStatePerPhaseData;
/*
* AggStatePerHashData - per-hashtable state
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);
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;
/* Cached information about partition comparison functions. */
struct FmgrInfo *partsupfunc;
-} PartitionSchemeData;
+} PartitionSchemeData;
typedef struct PartitionSchemeData *PartitionScheme;
*/
SkipSupportIncDec decrement;
SkipSupportIncDec increment;
-} SkipSupportData;
+} SkipSupportData;
extern SkipSupport PrepareSkipSupportFromOpclass(Oid opfamily, Oid opcintype,
bool reverse);
/* Private opaque state (points to shared memory) */
Sharedsort *sharedsort;
-} SortCoordinateData;
+} SortCoordinateData;
typedef struct SortCoordinateData *SortCoordinate;
int64 hi;
#endif
} hl;
-} test128;
+} test128;
#define INT128_HEX_FORMAT "%016" PRIx64 "%016" PRIx64
AggSplit
AggState
AggStatePerAgg
+AggStatePerAggData
AggStatePerGroup
+AggStatePerGroupData
AggStatePerHash
+AggStatePerHashData
AggStatePerPhase
+AggStatePerPhaseData
AggStatePerTrans
+AggStatePerTransData
AggStrategy
AggTransInfo
Aggref
ArrayExprIterState
ArrayIOData
ArrayIterator
+ArrayIteratorData
ArrayMapState
ArrayMetaState
ArraySortCachedInfo
BitmapHeapPath
BitmapHeapScan
BitmapHeapScanDesc
+BitmapHeapScanDescData
BitmapHeapScanInstrumentation
BitmapHeapScanState
BitmapIndexScan
DbInfo
DbInfoArr
DbLocaleInfo
-DbOidName
DeClonePtrType
DeadLockState
DeallocateStmt
GinPostingTreeScanItem
GinQualCounts
GinScanEntry
+GinScanEntryData
GinScanItem
GinScanKey
GinScanKeyData
GistTsVectorOptions
GistVacState
GlobalTransaction
+GlobalTransactionData
GlobalVisHorizonKind
GlobalVisState
GrantRoleOptions
IndexRuntimeKeyInfo
IndexScan
IndexScanDesc
+IndexScanDescData
IndexScanInstrumentation
IndexScanState
IndexStateFlagsAction
MultiXactId
MultiXactMember
MultiXactOffset
+MultiXactOffset32
MultiXactStateData
MultiXactStatus
-MultiXactWriter
MultirangeIOData
MultirangeParseState
MultirangeType
NamedDSAState
NamedDSHState
NamedDSMState
-NamedLWLockTranche
NamedLWLockTrancheRequest
NamedTuplestoreScan
NamedTuplestoreScanState
PartitionDesc
PartitionDescData
PartitionDirectory
+PartitionDirectoryData
PartitionDirectoryEntry
PartitionDispatch
PartitionElem
PartitionRangeDatum
PartitionRangeDatumKind
PartitionScheme
+PartitionSchemeData
PartitionSpec
PartitionStrategy
PartitionTupleRouting
Point
Pointer
PolicyInfo
-PolyNumAggState
Pool
PopulateArrayContext
PopulateArrayState
RewriteMappingFile
RewriteRule
RewriteState
+RewriteStateData
RmgrData
RmgrDescData
RmgrId
Size
SkipPages
SkipSupport
+SkipSupportData
SkipSupportIncDec
SlabBlock
SlabContext
SortByDir
SortByNulls
SortCoordinate
+SortCoordinateData
SortGroupClause
SortItem
SortPath
SpinDelayStatus
SplitInterval
SplitLR
-SplitPartitionContext
SplitPageLayout
+SplitPartitionContext
SplitPoint
SplitTextOutputData
SplitVar
SyncingRelationsState
SysFKRelationship
SysScanDesc
+SysScanDescData
SyscacheCallbackFunction
SysloggerStartupData
SystemRowsSamplerData
TupleHashEntryData
TupleHashIterator
TupleHashTable
+TupleHashTableData
TupleQueueReader
TupleTableSlot
TupleTableSlotOps
VacAttrStatsP
VacDeadItemsInfo
VacErrPhase
-VacObjFilter
VacOptValue
VacuumParams
VacuumRelation
WaitEventIPC
WaitEventSet
WaitEventTimeout
-WaitLSNType
-WaitLSNState
WaitLSNProcInfo
WaitLSNResult
+WaitLSNState
+WaitLSNType
WaitPMResult
WaitStmt
WalCloseMethod
WindowStatePerAgg
WindowStatePerAggData
WindowStatePerFunc
+WindowStatePerFuncData
WithCheckOption
WithClause
WordBoundaryNext
pg_usec_time_t
pg_utf_to_local_combined
pg_uuid_t
-pg_wc_probefunc
pg_wchar
pg_wchar_tbl
pgp_armor_headers_state
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
reduce_outer_joins_pass1_state
reduce_outer_joins_pass2_state
reference
+regc_wc_probefunc
regex_arc_t
regexp
regexp_matches_ctx
td_entry
teSection
temp_tablespaces_extra
+test128
test_re_flags
test_regex_ctx
test_shm_mq_header
varattrib_1b
varattrib_1b_e
varattrib_4b
+vartag_external
vbits
verifier_context
walrcv_alter_slot_fn
xmlNodePtr
xmlNodeSetPtr
xmlParserCtxtPtr
-xmlParserErrors
xmlParserInputPtr
xmlSaveCtxt
xmlSaveCtxtPtr