model-writtenrun 1627 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Rambabu V reported that pg_stat_user_tables counters disappeared during an upgrade from PostgreSQL 16 to 18, apparently contradicting the promise to retain statistics #1.
- Bruce Momjian explained that pg_upgrade preserves optimizer statistics rather than cumulative statistics, and Greg Sabino Mullane suggested checking pg_stats to inspect the retained information #2 #3.
- Robert Treat proposed clarifying the pg_dump and pg_dumpall documentation to name optimizer statistics explicitly and exclude cumulative statistics; Dilip Kumar endorsed the update #4 #5.
- Rambabu requested clearer release notes and raised a separate package-dependency question; Bruce judged the release notes clear, accepted the clarification for the other documentation, and directed the packaging question to a separate thread #6 #7.
- Bruce committed Robert's patch unchanged as b56c26c493 and confirmed that it was applied back through PostgreSQL 18 #4 #8.
- Fujii Masao noticed that pg_upgrade's matching paragraph still lacked the clarification and supplied an inline patch; Bruce agreed and asked Fujii to commit it #9 #10.
- Fujii attached the follow-up patch and committed its documentation hunk unchanged as aaf035790a, also backpatched to PostgreSQL 18; his final confirmation left both documentation patches landed with no outstanding patch revisions #11 #12.