Skip to content

Commit a93bdfc

Browse files
committed
Fix typo in comment.
Also line-wrap an over-wide line in a comment that's ignored by pgindent.
1 parent 79daaa3 commit a93bdfc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/backend/replication/syncrep.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
*
2222
* Replication is either synchronous or not synchronous (async). If it is
2323
* async, we just fastpath out of here. If it is sync, then we wait for
24-
* the write or flush location on the standby before releasing the waiting backend.
25-
* Further complexity in that interaction is expected in later releases.
24+
* the write or flush location on the standby before releasing the waiting
25+
* backend. Further complexity in that interaction is expected in later
26+
* releases.
2627
*
2728
* The best performing way to manage the waiting backends is to have a
2829
* single ordered queue of waiting backends, so that we can avoid
@@ -116,7 +117,7 @@ SyncRepWaitForLSN(XLogRecPtr XactCommitLSN)
116117
* set. See SyncRepUpdateSyncStandbysDefined.
117118
*
118119
* Also check that the standby hasn't already replied. Unlikely race
119-
* condition but we'll be fetching that cache line anyway so its likely to
120+
* condition but we'll be fetching that cache line anyway so it's likely to
120121
* be a low cost check.
121122
*/
122123
if (!WalSndCtl->sync_standbys_defined ||

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy