Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8aa03f3

Browse files
committed
Fix comment in snapbuild.c
Author: Masahiko Sawada Discussion: https://postgr.es/m/CAD21AoAmf-PkSnMGAJg2DtGhp7O7vpHoexCxfQLKZg8xrbRwsg@mail.gmail.com
1 parent cd4329d commit 8aa03f3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/backend/replication/logical/snapbuild.c

+4-5
Original file line numberDiff line numberDiff line change
@@ -1464,11 +1464,10 @@ SnapBuildFindSnapshot(SnapBuild *builder, XLogRecPtr lsn, xl_running_xacts *runn
14641464
/*
14651465
* c) transition from FULL_SNAPSHOT to CONSISTENT.
14661466
*
1467-
* In FULL_SNAPSHOT state (see d) ), and this xl_running_xacts'
1468-
* oldestRunningXid is >= than nextXid from when we switched to
1469-
* FULL_SNAPSHOT. This means all transactions that are currently in
1470-
* progress have a catalog snapshot, and all their changes have been
1471-
* collected. Switch to CONSISTENT.
1467+
* In FULL_SNAPSHOT state, and this xl_running_xacts' oldestRunningXid is
1468+
* >= than nextXid from when we switched to FULL_SNAPSHOT. This means all
1469+
* transactions that are currently in progress have a catalog snapshot,
1470+
* and all their changes have been collected. Switch to CONSISTENT.
14721471
*/
14731472
else if (builder->state == SNAPBUILD_FULL_SNAPSHOT &&
14741473
TransactionIdPrecedesOrEquals(builder->next_phase_at,

0 commit comments

Comments
 (0)