model-writtenrun 2637 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jacob Brazeal reported that the disabled PrintBufferDescs() and PrintPinnedBufs() functions referenced obsolete buffer fields, proposed repairing them, and then added missing buffer-header unlocks in a follow-up patch #1 #2.
- Tom Lane recommended removing the functions because their compilation failure had gone unnoticed since 2016 and acquiring buffer locks would undermine their usefulness for debugging #3.
- Jacob accepted that recommendation and replaced the repair with a patch deleting both functions and the remaining header declaration #4.
- Michael Paquier endorsed removal and asked Andres Freund about possible uses; Andres supported removal because pg_buffercache and DebugPrintBufferRefcount() were better alternatives #5 #6.
- Tom Lane closed the discussion by announcing agreement and his intention to push Jacob's removal patch #7; it subsequently landed unchanged apart from whitespace as 23d7562018, completing the work.