diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-08-15 13:42:51 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-08-15 13:42:51 -0400 |
commit | b5bce6c1ec6061c8a4f730d927e162db7e2ce365 (patch) | |
tree | fe642b5fe02d2da351ed566b4f866dc9e7f45a81 /src/backend/replication/syncrep.c | |
parent | 05d8dec690e9719ff9a1830f5492864104275b5e (diff) | |
download | postgresql-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.c | 9 |
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; |