model-writtenrun 2401 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ashutosh Bapat reported that dumping and restoring the regression database reset materialized-view statistics, losing useful relation counts #1.
- Tom Lane questioned whether statistics dependencies guaranteed restore ordering; Jeff Davis identified the materialized-view refresh's heap swap as the cause and proposed a dependency on its data, which Tom supported #2 #3 #4.
- Jeff posted a fix that added the data dependency and deferred statistics to the post-data section and post-ACL restore pass, because a dependency alone would otherwise be ignored #5.
- Ashutosh's initial test eliminated the original differences but exposed others, and he later reported continued failures after updating his sources #6 #7.
- Jeff bundled the rebased fix with Ashutosh's two regression dump/restore testing patches and reported passing tests; Ashutosh confirmed success with this submission and requested simpler explanatory comments #8 #9.
- Jeff committed the statistics fix from #8 with comment edits as a0a4601765; the two testing patches were not included.
- Jeff closed the thread by explaining that the newer fix was only a rebase and that the original also passed on a newer base; he committed the improvement to unblock Ashutosh's testing work while acknowledging that other dependency problems might remain #10.