pgsql: Update heap_page_prune() free space map comments.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Update heap_page_prune() free space map comments.
Date: 2021-11-11 21:43:27
Message-ID: E1mlHqx-0001n6-5B@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Update heap_page_prune() free space map comments.

It is up to the heap_page_prune() caller to decide what to do about
updating the FSM for a page following pruning. Update old comments that
address what we might want to do as if it was the responsibility of
heap_page_prune() itself. heap_page_prune() doesn't have enough
high-level context to make a sensible choice.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/42f9427aa98a2245d29737e0f3b8aaf39a7f57ec

Modified Files
--------------
src/backend/access/heap/pruneheap.c | 25 ++++++++-----------------
1 file changed, 8 insertions(+), 17 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2021-11-12 01:17:17 pgsql: Report any XLogReadRecord() error in XlogReadTwoPhaseData().
Previous Message Peter Geoghegan 2021-11-11 21:13:31 pgsql: Update another obsolete reference in vacuumlazy.c.