model-writtenrun 3878 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ashutosh Bapat proposed using Relids for relation-index sets in plannodes.h, adding a pathnodes.h dependency, and reported successful build and regression checks in #1.
- Alvaro Herrera questioned the added dependency and supplied two header cleanups alongside Ashutosh's adjusted patch in #2, moving MergeAction and OverridingKind to primnodes.h and removing unnecessary parsenodes.h inclusions.
- Tom Lane approved the cleanups with an include-order correction in #3, but rejected the Relids conversion because it expanded pathnodes.h dependencies and weakened separation between planner and executor code.
- Alvaro committed the two cleanups together as 615f5f6faa, taking them from #2 with the requested include alphabetization and leaving out the Relids conversion.
- After the commit, Ashutosh explained that the conversion could help future work on memory-efficient relation sets for heavily partitioned queries and suggested relocating the typedef, documenting the existing declarations, or deferring changes in #4.
- Tom maintained his objection in #5, arguing against sacrificing typical-case efficiency and deferring header organization until a credible replacement exists; the header cleanups had landed, while the original Relids conversion remained uncommitted.