pgsql: Clamp result of MultiXactMemberFreezeThreshold

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Clamp result of MultiXactMemberFreezeThreshold
Date: 2024-06-13 16:04:15
Message-ID: E1sHmvu-001LPd-6S@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7768ac1c17f0ec7883825e8768ab480caa7842ec

Modified Files
--------------
src/backend/access/transam/multixact.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-06-13 17:38:13 pgsql: When replanning a plpgsql "simple expression", check it's still
Previous Message Andrew Dunstan 2024-06-13 12:12:29 pgsql: Skip some permissions checks on Cygwin