git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cd4329d)
Fix comment in snapbuild.c
2022年11月28日 23:53:01 +0000 (08:53 +0900)
2022年11月28日 23:53:01 +0000 (08:53 +0900)
Author: Masahiko Sawada
Discussion: https://postgr.es/m/CAD21AoAmf-PkSnMGAJg2DtGhp7O7vpHoexCxfQLKZg8xrbRwsg@mail.gmail.com


diff --git a/src/backend/replication/logical/snapbuild.c b/src/backend/replication/logical/snapbuild.c
index a1fd1d92d6370c990878f5ef719ea521bb2781c7..beddcbcdea7c559dddc213a3be3c00c575690a66 100644 (file)
--- 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,
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /