mirror of
https://github.com/postgres/postgres.git
synced 2025-11-26 23:43:30 +03:00
Initial pgindent and pgperltidy run for v14.
Also "make reformat-dat-files". The only change worthy of note is that pgindent messed up the formatting of launcher.c's struct LogicalRepWorkerId, which led me to notice that that struct wasn't used at all anymore, so I just took it out.
This commit is contained in:
@@ -38,9 +38,9 @@
|
||||
typedef struct XidCacheStatus
|
||||
{
|
||||
/* number of cached subxids, never more than PGPROC_MAX_CACHED_SUBXIDS */
|
||||
uint8 count;
|
||||
uint8 count;
|
||||
/* has PGPROC->subxids overflowed */
|
||||
bool overflowed;
|
||||
bool overflowed;
|
||||
} XidCacheStatus;
|
||||
|
||||
struct XidCache
|
||||
@@ -145,8 +145,8 @@ struct PGPROC
|
||||
* else InvalidLocalTransactionId */
|
||||
int pid; /* Backend's process ID; 0 if prepared xact */
|
||||
|
||||
int pgxactoff; /* offset into various ProcGlobal->arrays
|
||||
* with data mirrored from this PGPROC */
|
||||
int pgxactoff; /* offset into various ProcGlobal->arrays with
|
||||
* data mirrored from this PGPROC */
|
||||
int pgprocno;
|
||||
|
||||
/* These fields are zero while a backend is still starting up: */
|
||||
@@ -207,8 +207,8 @@ struct PGPROC
|
||||
*/
|
||||
SHM_QUEUE myProcLocks[NUM_LOCK_PARTITIONS];
|
||||
|
||||
XidCacheStatus subxidStatus; /* mirrored with
|
||||
* ProcGlobal->subxidStates[i] */
|
||||
XidCacheStatus subxidStatus; /* mirrored with
|
||||
* ProcGlobal->subxidStates[i] */
|
||||
struct XidCache subxids; /* cache for subtransaction XIDs */
|
||||
|
||||
/* Support for group XID clearing. */
|
||||
|
||||
Reference in New Issue
Block a user