summaryrefslogtreecommitdiff
path: root/src/backend/replication/syncrep.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-08-15 13:42:51 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-08-15 13:42:51 -0400
commitb5bce6c1ec6061c8a4f730d927e162db7e2ce365 (patch)
treefe642b5fe02d2da351ed566b4f866dc9e7f45a81 /src/backend/replication/syncrep.c
parent05d8dec690e9719ff9a1830f5492864104275b5e (diff)
downloadpostgresql-b5bce6c1ec6061c8a4f730d927e162db7e2ce365.tar.gz
Final pgindent + perltidy run for 9.6.
Diffstat (limited to 'src/backend/replication/syncrep.c')
-rw-r--r--src/backend/replication/syncrep.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/backend/replication/syncrep.c b/src/backend/replication/syncrep.c
index 47a67cf4b1..b442d061ec 100644
--- a/src/backend/replication/syncrep.c
+++ b/src/backend/replication/syncrep.c
@@ -193,10 +193,11 @@ SyncRepWaitForLSN(XLogRecPtr lsn, bool commit)
ResetLatch(MyLatch);
/*
- * Acquiring the lock is not needed, the latch ensures proper barriers.
- * If it looks like we're done, we must really be done, because once
- * walsender changes the state to SYNC_REP_WAIT_COMPLETE, it will never
- * update it again, so we can't be seeing a stale value in that case.
+ * Acquiring the lock is not needed, the latch ensures proper
+ * barriers. If it looks like we're done, we must really be done,
+ * because once walsender changes the state to SYNC_REP_WAIT_COMPLETE,
+ * it will never update it again, so we can't be seeing a stale value
+ * in that case.
*/
if (MyProc->syncRepState == SYNC_REP_WAIT_COMPLETE)
break;