model-writtenrun 7394 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported and locally reproduced a pg_visibility regression under CLOBBER_CACHE_ALWAYS, where COPY FREEZE unexpectedly produced an extra heap page #1.
- Masahiko Sawada traced the failure to a recent partial revert that had removed an earlier fix for the same regression #2.
- Masahiko Sawada explained that target-block cache invalidation before the third COPY left a page partially empty, and supplied a patch restoring the last-page fallback independently of the FSM lookup #3.
- Tomas Vondra agreed that the fallback should have survived the revert and planned additional testing #4; he committed the attached patch unchanged as d1f0aa7696.
- Masahiko Sawada acknowledged that the fix had been pushed, closing the thread with no outstanding work identified #5.