aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2016-02-29 18:11:58 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2016-02-29 18:11:58 -0300
commit10b4852215a37915e55f034f919a6dc8bc72e988 (patch)
tree144c22cb07e767fad06d59d8bd01743fa5809ead
parent1c7c189fc1961f890bc06d6adb6bdfc739f5f927 (diff)
downloadpostgresql-10b4852215a37915e55f034f919a6dc8bc72e988.tar.gz
postgresql-10b4852215a37915e55f034f919a6dc8bc72e988.zip
Fix typos
Author: Amit Langote
-rw-r--r--src/backend/replication/syncrep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/replication/syncrep.c b/src/backend/replication/syncrep.c
index 7f85b881436..92faf4e8e0d 100644
--- a/src/backend/replication/syncrep.c
+++ b/src/backend/replication/syncrep.c
@@ -406,7 +406,7 @@ SyncRepGetSynchronousStandby(void)
* Update the LSNs on each queue based upon our latest state. This
* implements a simple policy of first-valid-standby-releases-waiter.
*
- * Other policies are possible, which would change what we do here and what
+ * Other policies are possible, which would change what we do here and
* perhaps also which information we store as well.
*/
void
@@ -419,9 +419,9 @@ SyncRepReleaseWaiters(void)
/*
* If this WALSender is serving a standby that is not on the list of
- * potential standbys then we have nothing to do. If we are still starting
- * up, still running base backup or the current flush position is still
- * invalid, then leave quickly also.
+ * potential sync standbys then we have nothing to do. If we are still
+ * starting up, still running base backup or the current flush position
+ * is still invalid, then leave quickly also.
*/
if (MyWalSnd->sync_standby_priority == 0 ||
MyWalSnd->state < WALSNDSTATE_STREAMING ||