Skip to content

Commit 4ef26ff

Browse files
committed
Fix typos
Author: Amit Langote
1 parent d288054 commit 4ef26ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/replication/syncrep.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ SyncRepInitConfig(void)
361361
* Update the LSNs on each queue based upon our latest state. This
362362
* implements a simple policy of first-valid-standby-releases-waiter.
363363
*
364-
* Other policies are possible, which would change what we do here and what
364+
* Other policies are possible, which would change what we do here and
365365
* perhaps also which information we store as well.
366366
*/
367367
void
@@ -376,9 +376,9 @@ SyncRepReleaseWaiters(void)
376376

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

0 commit comments

Comments
 (0)