diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-06-09 18:02:36 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-06-09 18:02:36 -0400 |
commit | 4bc424b968058c7f0aa685821d7039e86faac99c (patch) | |
tree | a4e245ae67bd11edb3926ff5fb3b0223438ac283 /src/include/storage | |
parent | 9164deea2f4ac90ee5e008ff41fc5ad4423887b2 (diff) | |
download | postgresql-4bc424b968058c7f0aa685821d7039e86faac99c.tar.gz postgresql-4bc424b968058c7f0aa685821d7039e86faac99c.zip |
pgindent run for 9.6
Diffstat (limited to 'src/include/storage')
-rw-r--r-- | src/include/storage/fd.h | 2 | ||||
-rw-r--r-- | src/include/storage/freespace.h | 6 | ||||
-rw-r--r-- | src/include/storage/lockdefs.h | 2 | ||||
-rw-r--r-- | src/include/storage/proc.h | 15 | ||||
-rw-r--r-- | src/include/storage/standby.h | 2 | ||||
-rw-r--r-- | src/include/storage/standbydefs.h | 6 |
6 files changed, 17 insertions, 16 deletions
diff --git a/src/include/storage/fd.h b/src/include/storage/fd.h index fc84fe8b1d4..cbc2224685e 100644 --- a/src/include/storage/fd.h +++ b/src/include/storage/fd.h @@ -77,7 +77,7 @@ extern int FileTruncate(File file, off_t offset); extern void FileWriteback(File file, off_t offset, off_t nbytes); extern char *FilePathName(File file); extern int FileGetRawDesc(File file); -extern int FileGetRawFlags(File file); +extern int FileGetRawFlags(File file); extern int FileGetRawMode(File file); /* Operations that allow use of regular stdio --- USE WITH CAUTION */ diff --git a/src/include/storage/freespace.h b/src/include/storage/freespace.h index ce95ef3064d..77b3bc3dc7e 100644 --- a/src/include/storage/freespace.h +++ b/src/include/storage/freespace.h @@ -33,8 +33,8 @@ extern void XLogRecordPageWithFreeSpace(RelFileNode rnode, BlockNumber heapBlk, extern void FreeSpaceMapTruncateRel(Relation rel, BlockNumber nblocks); extern void FreeSpaceMapVacuum(Relation rel); extern void UpdateFreeSpaceMap(Relation rel, - BlockNumber startBlkNum, - BlockNumber endBlkNum, - Size freespace); + BlockNumber startBlkNum, + BlockNumber endBlkNum, + Size freespace); #endif /* FREESPACE_H_ */ diff --git a/src/include/storage/lockdefs.h b/src/include/storage/lockdefs.h index 434a20e865e..dd7cb164c89 100644 --- a/src/include/storage/lockdefs.h +++ b/src/include/storage/lockdefs.h @@ -53,4 +53,4 @@ typedef struct xl_standby_lock Oid relOid; } xl_standby_lock; -#endif /* LOCKDEF_H_ */ +#endif /* LOCKDEF_H_ */ diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index c3b462c9494..775c66a1971 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -84,7 +84,7 @@ struct PGPROC { /* proc->links MUST BE FIRST IN STRUCT (see ProcSleep,ProcWakeup,etc) */ SHM_QUEUE links; /* list link if process is in a list */ - PGPROC **procgloballist; /* procglobal list that owns this PGPROC */ + PGPROC **procgloballist; /* procglobal list that owns this PGPROC */ PGSemaphoreData sem; /* ONE semaphore to sleep on */ int waitStatus; /* STATUS_WAITING, STATUS_OK or STATUS_ERROR */ @@ -143,16 +143,17 @@ struct PGPROC /* Support for group XID clearing. */ /* true, if member of ProcArray group waiting for XID clear */ - bool procArrayGroupMember; + bool procArrayGroupMember; /* next ProcArray group member waiting for XID clear */ - pg_atomic_uint32 procArrayGroupNext; + pg_atomic_uint32 procArrayGroupNext; + /* * latest transaction id among the transaction's main XID and * subtransactions */ - TransactionId procArrayGroupMemberXid; + TransactionId procArrayGroupMemberXid; - uint32 wait_event_info; /* proc's wait information */ + uint32 wait_event_info; /* proc's wait information */ /* Per-backend LWLock. Protects fields below (but not group fields). */ LWLock backendLock; @@ -169,8 +170,8 @@ struct PGPROC * leader to get the LWLock protecting these fields. */ PGPROC *lockGroupLeader; /* lock group leader, if I'm a member */ - dlist_head lockGroupMembers; /* list of members, if I'm a leader */ - dlist_node lockGroupLink; /* my member link, if I'm a member */ + dlist_head lockGroupMembers; /* list of members, if I'm a leader */ + dlist_node lockGroupLink; /* my member link, if I'm a member */ }; /* NOTE: "typedef struct PGPROC PGPROC" appears in storage/lock.h. */ diff --git a/src/include/storage/standby.h b/src/include/storage/standby.h index 52058840a59..dcebf72f85f 100644 --- a/src/include/storage/standby.h +++ b/src/include/storage/standby.h @@ -86,6 +86,6 @@ extern void LogAccessExclusiveLockPrepare(void); extern XLogRecPtr LogStandbySnapshot(void); extern void LogStandbyInvalidations(int nmsgs, SharedInvalidationMessage *msgs, - bool relcacheInitFileInval); + bool relcacheInitFileInval); #endif /* STANDBY_H */ diff --git a/src/include/storage/standbydefs.h b/src/include/storage/standbydefs.h index bd3c97fe434..ea22d77e07a 100644 --- a/src/include/storage/standbydefs.h +++ b/src/include/storage/standbydefs.h @@ -24,9 +24,9 @@ extern void standby_redo(XLogReaderState *record); extern void standby_desc(StringInfo buf, XLogReaderState *record); extern const char *standby_identify(uint8 info); extern void standby_desc_invalidations(StringInfo buf, - int nmsgs, SharedInvalidationMessage *msgs, - Oid dbId, Oid tsId, - bool relcacheInitFileInval); + int nmsgs, SharedInvalidationMessage *msgs, + Oid dbId, Oid tsId, + bool relcacheInitFileInval); /* * XLOG message types |