postgres.git / summary / log / commit / refs
commit 36d43f05109e944f431e85ff559727c411ab7089
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Mon Feb 29 21:11:58 2016 +0000
First released in: 9.6.0, 9.1.21, 9.2.16, 9.3.12, 9.4.7, 9.5.2
Fix typos
Author: Amit Langote
src/backend/replication/syncrep.c | 8 ++++----
1 file 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 ||
[parent: 6fdc6262ca18]