diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-11-29 08:53:01 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-11-29 08:53:01 +0900 |
commit | 8aa03f3caaed9dd438a20c3423daa43a44549d60 (patch) | |
tree | 85412aef7fd8bd60d70e28eb39333ab0d2da2f1a | |
parent | cd4329d9393f84dce34f0bd2dd936adc8ffaa213 (diff) | |
download | postgresql-8aa03f3caaed9dd438a20c3423daa43a44549d60.tar.gz postgresql-8aa03f3caaed9dd438a20c3423daa43a44549d60.zip |
Fix comment in snapbuild.c
Author: Masahiko Sawada
Discussion: https://postgr.es/m/CAD21AoAmf-PkSnMGAJg2DtGhp7O7vpHoexCxfQLKZg8xrbRwsg@mail.gmail.com
-rw-r--r-- | src/backend/replication/logical/snapbuild.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/backend/replication/logical/snapbuild.c b/src/backend/replication/logical/snapbuild.c index a1fd1d92d63..beddcbcdea7 100644 --- a/src/backend/replication/logical/snapbuild.c +++ b/src/backend/replication/logical/snapbuild.c @@ -1464,11 +1464,10 @@ SnapBuildFindSnapshot(SnapBuild *builder, XLogRecPtr lsn, xl_running_xacts *runn /* * c) transition from FULL_SNAPSHOT to CONSISTENT. * - * In FULL_SNAPSHOT state (see d) ), and this xl_running_xacts' - * oldestRunningXid is >= than nextXid from when we switched to - * FULL_SNAPSHOT. This means all transactions that are currently in - * progress have a catalog snapshot, and all their changes have been - * collected. Switch to CONSISTENT. + * In FULL_SNAPSHOT state, and this xl_running_xacts' oldestRunningXid is + * >= than nextXid from when we switched to FULL_SNAPSHOT. This means all + * transactions that are currently in progress have a catalog snapshot, + * and all their changes have been collected. Switch to CONSISTENT. */ else if (builder->state == SNAPBUILD_FULL_SNAPSHOT && TransactionIdPrecedesOrEquals(builder->next_phase_at, |