aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-09-03 13:17:09 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-09-03 13:17:09 +0300
commita93bdfc711399716328ce0811d600411b1314306 (patch)
treee660182a6be866c2cfa1f4bcc0aed70338eb706c
parent79daaa3e812c7600ef30ef3e6ba5e75cab18f212 (diff)
downloadpostgresql-a93bdfc711399716328ce0811d600411b1314306.tar.gz
postgresql-a93bdfc711399716328ce0811d600411b1314306.zip
Fix typo in comment.
Also line-wrap an over-wide line in a comment that's ignored by pgindent.
-rw-r--r--src/backend/replication/syncrep.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/replication/syncrep.c b/src/backend/replication/syncrep.c
index 5424281b425..8cf1346c183 100644
--- a/src/backend/replication/syncrep.c
+++ b/src/backend/replication/syncrep.c
@@ -21,8 +21,9 @@
*
* Replication is either synchronous or not synchronous (async). If it is
* async, we just fastpath out of here. If it is sync, then we wait for
- * the write or flush location on the standby before releasing the waiting backend.
- * Further complexity in that interaction is expected in later releases.
+ * the write or flush location on the standby before releasing the waiting
+ * backend. Further complexity in that interaction is expected in later
+ * releases.
*
* The best performing way to manage the waiting backends is to have a
* single ordered queue of waiting backends, so that we can avoid
@@ -116,7 +117,7 @@ SyncRepWaitForLSN(XLogRecPtr XactCommitLSN)
* set. See SyncRepUpdateSyncStandbysDefined.
*
* Also check that the standby hasn't already replied. Unlikely race
- * condition but we'll be fetching that cache line anyway so its likely to
+ * condition but we'll be fetching that cache line anyway so it's likely to
* be a low cost check.
*/
if (!WalSndCtl->sync_standbys_defined ||