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
commit0bd51dee6e9c15f9283224cb0a475c20b7ef3e86 (patch)
tree15f6a73e6ab7f5927303aa89bfcf6075cc99a0b4
parent8504ec929de7eb9ac49a019194f6ec2788caabba (diff)
downloadpostgresql-0bd51dee6e9c15f9283224cb0a475c20b7ef3e86.tar.gz
postgresql-0bd51dee6e9c15f9283224cb0a475c20b7ef3e86.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 9218e3b3cb4..caf16efa168 100644
--- a/src/backend/replication/syncrep.c
+++ b/src/backend/replication/syncrep.c
@@ -362,7 +362,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
@@ -377,9 +377,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 ||