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

Commit76e5b4c

Browse files
committed
Add C comment about the fact that the autovacuum limit can go backwards
by 3, but that is it OK.
1 parenteff223f commit76e5b4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/backend/postmaster/autovacuum.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,7 @@ do_start_worker(void)
11081108
recentXid=ReadNewTransactionId();
11091109
xidForceLimit=recentXid-autovacuum_freeze_max_age;
11101110
/* ensure it's a "normal" XID, else TransactionIdPrecedes misbehaves */
1111+
/* this can cause the limit to go backwards by 3, but that's OK */
11111112
if (xidForceLimit<FirstNormalTransactionId)
11121113
xidForceLimit-=FirstNormalTransactionId;
11131114

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp