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
commit9ca3789191f80c6e6ac01c12171d4fba4c95f55d (patch)
tree5f4c14acb4be5b46a7d7144ef54ee37e5c2492d5
parent6f3f50ad4a304b5617275b5c8592a2a3abb129b2 (diff)
downloadpostgresql-9ca3789191f80c6e6ac01c12171d4fba4c95f55d.tar.gz
postgresql-9ca3789191f80c6e6ac01c12171d4fba4c95f55d.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 325239d6358..3fa08567e72 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 ||