Clamp result of MultiXactMemberFreezeThreshold
authorHeikki Linnakangas <[email protected]>
Thu, 13 Jun 2024 16:01:30 +0000 (19:01 +0300)
committerHeikki Linnakangas <[email protected]>
Thu, 13 Jun 2024 16:02:54 +0000 (19:02 +0300)
commitd881f6fdf5e8346cd8924d4fd671a886a39853d3
treedd39460b46c0a4a9c926dc1ada3f5adc590ab977
parent0e51485392c0c457de0709181a3d2bfdba6f3fb6
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