mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
Fix typos
Author: Amit Langote
This commit is contained in:
parent
d288054446
commit
4ef26fff7b
@ -361,7 +361,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
|
||||
@ -376,9 +376,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 ||
|
||||
|
Loading…
Reference in New Issue
Block a user