diff options
| author | Bruce Momjian | 2011-04-10 15:42:00 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2011-04-10 15:42:00 +0000 |
| commit | bf50caf105a901c4f83ac1df3cdaf910c26694a4 (patch) | |
| tree | dac42d7795070f107eefb085c500f86a4d35f92f /src/include/replication | |
| parent | 9a8b73147c07e02e10e0d0a34aa99d72e3336fb2 (diff) | |
pgindent run before PG 9.1 beta 1.
Diffstat (limited to 'src/include/replication')
| -rw-r--r-- | src/include/replication/replnodes.h | 6 | ||||
| -rw-r--r-- | src/include/replication/syncrep.h | 2 | ||||
| -rw-r--r-- | src/include/replication/walprotocol.h | 14 | ||||
| -rw-r--r-- | src/include/replication/walreceiver.h | 14 | ||||
| -rw-r--r-- | src/include/replication/walsender.h | 26 |
5 files changed, 31 insertions, 31 deletions
diff --git a/src/include/replication/replnodes.h b/src/include/replication/replnodes.h index 6fc037580f..e027f9203b 100644 --- a/src/include/replication/replnodes.h +++ b/src/include/replication/replnodes.h @@ -35,7 +35,7 @@ typedef enum ReplNodeTag typedef struct IdentifySystemCmd { NodeTag type; -} IdentifySystemCmd; +} IdentifySystemCmd; /* ---------------------- @@ -46,7 +46,7 @@ typedef struct BaseBackupCmd { NodeTag type; List *options; -} BaseBackupCmd; +} BaseBackupCmd; /* ---------------------- @@ -57,6 +57,6 @@ typedef struct StartReplicationCmd { NodeTag type; XLogRecPtr startpoint; -} StartReplicationCmd; +} StartReplicationCmd; #endif /* REPLNODES_H */ diff --git a/src/include/replication/syncrep.h b/src/include/replication/syncrep.h index 728e2c8f2d..efbebbcc06 100644 --- a/src/include/replication/syncrep.h +++ b/src/include/replication/syncrep.h @@ -44,7 +44,7 @@ extern void SyncRepReleaseWaiters(void); extern void SyncRepUpdateSyncStandbysDefined(void); /* called by various procs */ -extern int SyncRepWakeQueue(bool all); +extern int SyncRepWakeQueue(bool all); extern bool check_synchronous_standby_names(char **newval, void **extra, GucSource source); #endif /* _SYNCREP_H */ diff --git a/src/include/replication/walprotocol.h b/src/include/replication/walprotocol.h index 9baca948a2..94146679fa 100644 --- a/src/include/replication/walprotocol.h +++ b/src/include/replication/walprotocol.h @@ -48,9 +48,9 @@ typedef struct typedef struct { /* - * The xlog locations that have been written, flushed, and applied - * by standby-side. These may be invalid if the standby-side is unable - * to or chooses not to report these. + * The xlog locations that have been written, flushed, and applied by + * standby-side. These may be invalid if the standby-side is unable to or + * chooses not to report these. */ XLogRecPtr write; XLogRecPtr flush; @@ -70,11 +70,11 @@ typedef struct { /* * The current xmin and epoch from the standby, for Hot Standby feedback. - * This may be invalid if the standby-side does not support feedback, - * or Hot Standby is not yet available. + * This may be invalid if the standby-side does not support feedback, or + * Hot Standby is not yet available. */ - TransactionId xmin; - uint32 epoch; + TransactionId xmin; + uint32 epoch; /* Sender's system clock at the time of transmission */ TimestampTz sendTime; diff --git a/src/include/replication/walreceiver.h b/src/include/replication/walreceiver.h index 775232b6e6..816fa5ba72 100644 --- a/src/include/replication/walreceiver.h +++ b/src/include/replication/walreceiver.h @@ -17,7 +17,7 @@ #include "pgtime.h" extern bool am_walreceiver; -extern int wal_receiver_status_interval; +extern int wal_receiver_status_interval; extern bool hot_standby_feedback; /* @@ -52,17 +52,17 @@ typedef struct pg_time_t startTime; /* - * receiveStart is the first byte position that will be received. - * When startup process starts the walreceiver, it sets receiveStart - * to the point where it wants the streaming to begin. + * receiveStart is the first byte position that will be received. When + * startup process starts the walreceiver, it sets receiveStart to the + * point where it wants the streaming to begin. */ XLogRecPtr receiveStart; /* * receivedUpto-1 is the last byte position that has already been - * received. At the first startup of walreceiver, receivedUpto is - * set to receiveStart. After that, walreceiver updates this whenever - * it flushes the received WAL to disk. + * received. At the first startup of walreceiver, receivedUpto is set to + * receiveStart. After that, walreceiver updates this whenever it flushes + * the received WAL to disk. */ XLogRecPtr receivedUpto; diff --git a/src/include/replication/walsender.h b/src/include/replication/walsender.h index 2670a2e806..6ee8668d0a 100644 --- a/src/include/replication/walsender.h +++ b/src/include/replication/walsender.h @@ -25,7 +25,7 @@ typedef enum WalSndState WALSNDSTATE_BACKUP, WALSNDSTATE_CATCHUP, WALSNDSTATE_STREAMING -} WalSndState; +} WalSndState; /* * Each walsender has a WalSnd struct in shared memory. @@ -37,9 +37,9 @@ typedef struct WalSnd XLogRecPtr sentPtr; /* WAL has been sent up to this point */ /* - * The xlog locations that have been written, flushed, and applied - * by standby-side. These may be invalid if the standby-side has not - * offered values yet. + * The xlog locations that have been written, flushed, and applied by + * standby-side. These may be invalid if the standby-side has not offered + * values yet. */ XLogRecPtr write; XLogRecPtr flush; @@ -49,17 +49,17 @@ typedef struct WalSnd slock_t mutex; /* - * Latch used by backends to wake up this walsender when it has work - * to do. + * Latch used by backends to wake up this walsender when it has work to + * do. */ Latch latch; /* - * The priority order of the standby managed by this WALSender, as - * listed in synchronous_standby_names, or 0 if not-listed. - * Protected by SyncRepLock. + * The priority order of the standby managed by this WALSender, as listed + * in synchronous_standby_names, or 0 if not-listed. Protected by + * SyncRepLock. */ - int sync_standby_priority; + int sync_standby_priority; } WalSnd; extern WalSnd *MyWalSnd; @@ -70,11 +70,11 @@ typedef struct /* * Synchronous replication queue. Protected by SyncRepLock. */ - SHM_QUEUE SyncRepQueue; + SHM_QUEUE SyncRepQueue; /* - * Current location of the head of the queue. All waiters should have - * a waitLSN that follows this value. Protected by SyncRepLock. + * Current location of the head of the queue. All waiters should have a + * waitLSN that follows this value. Protected by SyncRepLock. */ XLogRecPtr lsn; |
