Skip to content

Commit 0bd51de

Browse files
committed
Fix typos
Author: Amit Langote
1 parent 8504ec9 commit 0bd51de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/replication/syncrep.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ SyncRepInitConfig(void)
362362
* Update the LSNs on each queue based upon our latest state. This
363363
* implements a simple policy of first-valid-standby-releases-waiter.
364364
*
365-
* Other policies are possible, which would change what we do here and what
365+
* Other policies are possible, which would change what we do here and
366366
* perhaps also which information we store as well.
367367
*/
368368
void
@@ -377,9 +377,9 @@ SyncRepReleaseWaiters(void)
377377

378378
/*
379379
* If this WALSender is serving a standby that is not on the list of
380-
* potential standbys then we have nothing to do. If we are still starting
381-
* up, still running base backup or the current flush position is still
382-
* invalid, then leave quickly also.
380+
* potential sync standbys then we have nothing to do. If we are still
381+
* starting up, still running base backup or the current flush position
382+
* is still invalid, then leave quickly also.
383383
*/
384384
if (MyWalSnd->sync_standby_priority == 0 ||
385385
MyWalSnd->state < WALSNDSTATE_STREAMING ||

0 commit comments

Comments
 (0)