aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2017-08-12 21:36:07 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2017-08-12 23:26:35 -0400
commit2336f842843e5bd26779692b39eaf0ef9d4d31da (patch)
treed662f7db72495af3f542109f546cde02ca25532b /src/backend
parente88928c50dfe2623c899f82b54aad69da248ad07 (diff)
downloadpostgresql-2336f842843e5bd26779692b39eaf0ef9d4d31da.tar.gz
postgresql-2336f842843e5bd26779692b39eaf0ef9d4d31da.zip
Reword comment for clarity
Reported by Masahiko Sawada Discussion: https://postgr.es/m/CAD21AoB+ycZ2z-4Ye=6MfQ_r0aV5r6cvVPw4kOyPdp6bHqQoBQ@mail.gmail.com
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/replication/logical/snapbuild.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/replication/logical/snapbuild.c b/src/backend/replication/logical/snapbuild.c
index 153d1712ef3..0ca4fa5d256 100644
--- a/src/backend/replication/logical/snapbuild.c
+++ b/src/backend/replication/logical/snapbuild.c
@@ -1116,9 +1116,9 @@ SnapBuildProcessRunningXacts(SnapBuild *builder, XLogRecPtr lsn, xl_running_xact
* so, because we only need to do it for catalog transactions since we
* only ever look at those.
*
- * NB: Because of that xmax can be lower than xmin, because we only
- * increase xmax when a catalog modifying transaction commits. While odd
- * looking, it's correct and actually more efficient this way since we hit
+ * NB: We only increase xmax when a catalog modifying transaction commits
+ * (see SnapBuildCommitTxn). Because of this, xmax can be lower than xmin,
+ * which looks odd but is correct and actually more efficient, since we hit
* fast paths in tqual.c.
*/
builder->xmin = running->oldestRunningXid;