model-writtenrun 7094 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- jian he opened the thread with #1, identifying duplicate STATISTICS DATA checks and attaching a patch that consolidated them after section filtering and returned REQ_STATS directly.
- In #1, jian he also suggested logging statistics exports and updating pg_restore's parallel-jobs documentation to mention statistics restoration.
- Corey Huinker endorsed the attached refactoring as good as-is in #2.
- Corey Huinker leaned against per-table statistics logging and considered the parallel-jobs documentation adequate in #2, because statistics operations are relatively inexpensive; these suggestions had no attached implementation.
- The patch was subsequently forwarded in #584991 in thread #48380, whose later matching submission supersedes this thread's original #1 for commit attribution.
- Jeff Davis committed f9f4b43b8d through thread #48380, removing the duplicate check and redundant else while preserving the original check location and continued filtering; the proposed relocation, logging, and documentation changes did not land in this commit.