pgsql: Update obsolete multixact.c comments. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Update obsolete multixact.c comments.
Date
Msg-id E1pCs3T-001vD0-Aq@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Update obsolete multixact.c comments.

Commit 4f627f89 switched SLRU truncation for multixacts back to being a
task performed during VACUUM, but missed some comments that continued to
reference truncation happening as part of checkpointing.  Update those
comments now.

Also update comments that became obsolete when commit c3ffa731 changed
the way that vacuum_multixact_freeze_min_age is applied by VACUUM as it
computes its MultiXactCutoff cutoff (which is used by VACUUM to decide
what to freeze).  Explain the same issues by referencing how OldestMxact
is the latest valid value that relminmxid can ever be advanced to at the
end of a VACUUM (following the work in commit 0b018fab).

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5212d447fa53518458cbe609092b347803a667c5

Modified Files
--------------
src/backend/access/transam/multixact.c | 36 ++++++++++++++++++----------------
1 file changed, 19 insertions(+), 17 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: During pg_dump startup, acquire table locks in batches.
Next
From: Peter Geoghegan
Date:
Subject: pgsql: Check that xmax didn't commit in freeze check.