Commit a93bdfc7 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Fix typo in comment.

Also line-wrap an over-wide line in a comment that's ignored by pgindent.
parent 79daaa3e
...@@ -21,8 +21,9 @@ ...@@ -21,8 +21,9 @@
* *
* Replication is either synchronous or not synchronous (async). If it is * Replication is either synchronous or not synchronous (async). If it is
* async, we just fastpath out of here. If it is sync, then we wait for * async, we just fastpath out of here. If it is sync, then we wait for
* the write or flush location on the standby before releasing the waiting backend. * the write or flush location on the standby before releasing the waiting
* Further complexity in that interaction is expected in later releases. * backend. Further complexity in that interaction is expected in later
* releases.
* *
* The best performing way to manage the waiting backends is to have a * The best performing way to manage the waiting backends is to have a
* single ordered queue of waiting backends, so that we can avoid * single ordered queue of waiting backends, so that we can avoid
...@@ -116,7 +117,7 @@ SyncRepWaitForLSN(XLogRecPtr XactCommitLSN) ...@@ -116,7 +117,7 @@ SyncRepWaitForLSN(XLogRecPtr XactCommitLSN)
* set. See SyncRepUpdateSyncStandbysDefined. * set. See SyncRepUpdateSyncStandbysDefined.
* *
* Also check that the standby hasn't already replied. Unlikely race * Also check that the standby hasn't already replied. Unlikely race
* condition but we'll be fetching that cache line anyway so its likely to * condition but we'll be fetching that cache line anyway so it's likely to
* be a low cost check. * be a low cost check.
*/ */
if (!WalSndCtl->sync_standbys_defined || if (!WalSndCtl->sync_standbys_defined ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment