model-writtenrun 4134 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Masahiro Ikeda opened the thread with Mitsuru Hinata's report that pg_stat_reset_single_table_counters() no longer reset shared-relation statistics after statistics moved to shared memory, and proposed selecting InvalidOid for shared relations in #1.
- Ikeda made the initial regression tests tolerate varying database counts after cfbot exposed a pg_upgrade failure, submitting the adjustment in #2.
- Masahiko Sawada confirmed the fix but warned that autovacuum could invalidate scan-counter assertions and that no catalog-version bump was needed in #3; Andres Freund suggested checking update counters in #4, leading Ikeda to test COMMENT-driven changes to pg_shdescription and remove the version bump in #5.
- Sawada said the revised patch worked and requested identifier quoting and restoration of the database comment in #6, which Ikeda implemented in #7.
- Kyotaro Horiguchi suggested a clearer test-variable name in #8, and Ikeda submitted the rename to db in #9, ten seconds after the commit had already been created.
- Michael Paquier committed #7 with light test edits, independently choosing datname, as 6fde2d9a00; he confirmed application through PostgreSQL 15 in #10, and Ikeda's acknowledgment in #11 closed the thread with the fix landed.