Skip to content

Commit 55ef855

Browse files
committed
Fix two typos in snapbuild.c.
Reported-by: Heikki Linnakangas <[email protected]> Discussion: https://postgr.es/m/[email protected]
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

+2-2
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)