Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf3780b6

Browse files
michaelpqpull[bot]
authored andcommitted
Fix comment in snapbuild.c
Author: Masahiko SawadaDiscussion:https://postgr.es/m/CAD21AoAmf-PkSnMGAJg2DtGhp7O7vpHoexCxfQLKZg8xrbRwsg@mail.gmail.com
1 parent087f8ea commitf3780b6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎src/backend/replication/logical/snapbuild.c

Lines changed: 4 additions & 5 deletions
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
elseif (builder->state==SNAPBUILD_FULL_SNAPSHOT&&
14741473
TransactionIdPrecedesOrEquals(builder->next_phase_at,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp