summaryrefslogtreecommitdiff
path: root/src
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
commit36d43f05109e944f431e85ff559727c411ab7089 (patch)
tree23d0e47d85e4cb116b05e899e7d8cb3e6b8ee3ea /src
parent6fdc6262ca188ad7f4c7a9857e28684328a9869b (diff)
Fix typos
Author: Amit Langote
Diffstat (limited to 'src')
-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 132d7e4a7a3..3a14c1672fe 100644
--- a/src/backend/replication/syncrep.c
+++ b/src/backend/replication/syncrep.c
@@ -363,7 +363,7 @@ SyncRepInitConfig(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
@@ -378,9 +378,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 ||