Fix typos
authorAlvaro Herrera <[email protected]>
Mon, 29 Feb 2016 21:11:58 +0000 (18:11 -0300)
committerAlvaro Herrera <[email protected]>
Mon, 29 Feb 2016 21:11:58 +0000 (18:11 -0300)
Author: Amit Langote

src/backend/replication/syncrep.c

index 132d7e4a7a39ab8b482284910f8025a3de27fbc5..3a14c1672fee39ca892d5f8c0c66b1742e8f6619 100644 (file)
@@ -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 ||