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

Commit2336f84

Browse files
committed
Reword comment for clarity
Reported by Masahiko SawadaDiscussion:https://postgr.es/m/CAD21AoB+ycZ2z-4Ye=6MfQ_r0aV5r6cvVPw4kOyPdp6bHqQoBQ@mail.gmail.com
1 parente88928c commit2336f84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
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 xmaxcan be lower than xmin, because we only
1120-
*increase xmax when a catalog modifying transaction commits. While odd
1121-
*looking, it'scorrect and actually more efficient this way since we hit
1119+
* NB:We only increase xmaxwhen a catalog modifying transaction commits
1120+
*(see SnapBuildCommitTxn). Because of this, xmax can be lower than xmin,
1121+
*which looks odd but iscorrect and actually more efficient, since we hit
11221122
* fast paths in tqual.c.
11231123
*/
11241124
builder->xmin=running->oldestRunningXid;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp