model-writtenrun 4538 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Artem Gavrilov reported that dumping extended statistics from pre-v15 partitioned tables marked them non-inherited, causing the restored planner to ignore them, and proposed deriving the flag in C from the already available TableInfo.relkind in #1.
- Corey Huinker endorsed the C approach because the SQL alternative lacked an elegant implementation and confirmed successful application and tests, while warning that the regular test suite did not exercise this scenario in #2.
- Michael Paquier found the patch sound, wanted it included before the initial v19 release, and requested an explanation of the v15 catalog change that superseded the older partitioned-table handling in #3.
- Artem supplied a rebased patch with that historical explanation in its commit message and unchanged implementation, while acknowledging difficulty automating the cross-version test, in #4.
- Michael made light comment and commit-message edits to #4 and landed it as 35def33859; his closing report in #5 confirmed successful testing against v14 and v15 instances and application through v19, leaving no patch outstanding.