Skip to content

Commit 2336f84

Browse files
committed
1 parent e88928c commit 2336f84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/replication/logical/snapbuild.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1116,9 +1116,9 @@ SnapBuildProcessRunningXacts(SnapBuild *builder, XLogRecPtr lsn, xl_running_xact
11161116
* so, because we only need to do it for catalog transactions since we
11171117
* only ever look at those.
11181118
*
1119-
* NB: Because of that xmax can be lower than xmin, because we only
1120-
* increase xmax when a catalog modifying transaction commits. While odd
1121-
* looking, it's correct and actually more efficient this way since we hit
1119+
* NB: We only increase xmax when a catalog modifying transaction commits
1120+
* (see SnapBuildCommitTxn). Because of this, xmax can be lower than xmin,
1121+
* which looks odd but is correct and actually more efficient, since we hit
11221122
* fast paths in tqual.c.
11231123
*/
11241124
builder->xmin = running->oldestRunningXid;

0 commit comments

Comments
 (0)