model-writtenrun 1615 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Bertrand Drouvot proposed adding os_page_num to pg_buffercache so buffer-to-OS-page mappings would be available without NUMA support or its query overhead #1; Tomas Vondra and Nathan Bossart agreed that the feature should wait for PostgreSQL 19 #2 #3.
- Bertrand resumed the work in July with shared page-boundary helpers and an extension version bump to 1.7 #5.
- Tomas warned that returning multiple rows per buffer would silently break monitoring queries and requested a separate view #6; Bertrand demonstrated the value for investigating huge-page alignment #7, and Tomas supported providing access on platforms without libnuma #10.
- Bertrand introduced a separate pg_buffercache_os_pages function and view, preserving the existing pg_buffercache cardinality #11.
- Mircea Cadariu tested the separate-view implementation on a system with 16KB OS pages and 8KB database blocks, confirmed the expected mappings, and raised code-duplication and explanatory-comment concerns #13 #15; Bertrand clarified the comments in #16.
- Further testing and review by Mircea led to consolidated regression tests and capitalized column descriptions #17 #18, followed by his readiness assessment #19 and an interrupt-handling addition requested in #20 and supplied in #21.
- Michael Paquier extracted the existing NUMA-column capitalization correction from #21 into fce13424b9, then reported that the remaining feature duplicated too much NUMA code and also needed adjustment for the changed buffer-unlocking API #22.
- After Bertrand considered alternatives for sharing the implementation #23, Michael proposed one function with a boolean controlling NUMA collection, separate views selecting the desired behavior, and preservation of errors when explicitly requesting unavailable NUMA support #24; Bertrand accepted this design #25.
- Bertrand supplied the shared implementation as a split series, including cleanup, optional helper extraction, conditional NUMA processing, and the new function and view #26.
- The final submission dropped cleanup already incorporated into the base and fixed a v1.6 compatibility error by routing both entry points through the internal function with the original call context #27.
- Michael committed the substantive parts of #27 as 4b203d499c, omitting the helper extraction because it would have only one caller and correcting comments, documentation, and typedef registrations #28.
- The thread ended with the feature landed and the old pg_buffercache_numa_pages function retained for compatibility; Michael mentioned dropping that function during upgrades as a possible future cleanup, without making it part of the committed change #28.