Skip to content

Commit 55ef855

Browse files
committed
Fix two typos in snapbuild.c.
Reported-by: Heikki Linnakangas <hlinnaka@iki.fi> Discussion: https://postgr.es/m/c94be044-818f-15e3-1ad3-7a7ae2dfed0a@iki.fi
1 parent 881933f commit 55ef855

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/replication/logical/snapbuild.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,7 +1385,7 @@ SnapBuildFindSnapshot(SnapBuild *builder, XLogRecPtr lsn, xl_running_xacts *runn
13851385
* a) allow isolationtester to notice that we're currently waiting for
13861386
* something.
13871387
* b) log a new xl_running_xacts record where it'd be helpful, without having
1388-
* to write for bgwriter or checkpointer.
1388+
* to wait for bgwriter or checkpointer.
13891389
* ---
13901390
*/
13911391
static void
@@ -1414,7 +1414,7 @@ SnapBuildWaitSnapshot(xl_running_xacts *running, TransactionId cutoff)
14141414
/*
14151415
* All transactions we needed to finish finished - try to ensure there is
14161416
* another xl_running_xacts record in a timely manner, without having to
1417-
* write for bgwriter or checkpointer to log one. During recovery we
1417+
* wait for bgwriter or checkpointer to log one. During recovery we
14181418
* can't enforce that, so we'll have to wait.
14191419
*/
14201420
if (!RecoveryInProgress())

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