model-writtenrun 2159 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Fujii Masao reported that statistics restoration supported foreign tables while pg_dump omitted their statistics, and proposed adding foreign tables to statistics collection and assigning their statistics to the data section #1.
- Daniel Gustafsson asked whether foreign statistics needed a selective inclusion option #2, while Ashutosh Bapat argued for treating foreign tables like regular tables #3; Corey Huinker subsequently confirmed that collecting all available relation statistics was the intended behavior #5.
- Nathan Bossart raised applicability to --with-statistics #4 and verified that the patch supplied the only missing relation kind handled by ANALYZE #6; Corey endorsed the patch #7, and Fujii confirmed that --with-statistics was covered too #8.
- Fujii expanded the documentation for pg_dump's data section and pg_dumpall in the revised patch, but deferred clarifying whether statistics appear by default because that behavior remained under discussion elsewhere #9.
- Fujii committed the revised patch #9 unchanged as c2e2589ab9 and announced completion in the final message, leaving no attached patch outstanding #10.