Skip to content

Commit 3864f09

Browse files
author
Alexander Korotkov
committed
Fix multixact limit computation.
1 parent 73f4b5e commit 3864f09

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/commands/vacuum.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,8 @@ vacuum_set_xid_limits(Relation rel,
569569
mxactLimit = GetOldestMultiXactId();
570570
if (mxactLimit > FirstMultiXactId + mxid_freezemin)
571571
mxactLimit -= mxid_freezemin;
572+
else
573+
mxactLimit = FirstMultiXactId;
572574

573575
nextMxactId = ReadNextMultiXactId();
574576
if (nextMxactId > FirstMultiXactId + effective_multixact_freeze_max_age)

0 commit comments

Comments
 (0)