pgsql: Update obsolete multixact.c comments.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Update obsolete multixact.c comments.
Date: 2023-01-04 00:54:55
Message-ID: E1pCs3T-001vD0-Aq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2023-01-04 01:15:44 Re: pgsql: Delay commit status checks until freezing executes.
Previous Message Andres Freund 2023-01-04 00:54:33 Re: pgsql: Delay commit status checks until freezing executes.