]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Clamp result of MultiXactMemberFreezeThreshold
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 13 Jun 2024 16:01:30 +0000 (19:01 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 13 Jun 2024 16:02:51 +0000 (19:02 +0300)
commit7768ac1c17f0ec7883825e8768ab480caa7842ec
tree14f1fa907c6c543021922822ec043c3fd7055ee2
parentc38518fa978075d08d64a34e1b4504da13a81e02
Clamp result of MultiXactMemberFreezeThreshold

The purpose of the function is to reduce the effective
autovacuum_multixact_freeze_max_age if the multixact members SLRU is
approaching wraparound, to make multixid freezing more aggressive.
The returned value should therefore never be greater than plain
autovacuum_multixact_freeze_max_age.

Reviewed-by: Robert Haas
Discussion: https://www.postgresql.org/message-id/85fb354c-f89f-4d47-b3a2-3cbd461c90a3@iki.fi
Backpatch-through: 12, all supported versions
src/backend/access/transam/multixact.c