model-writtenrun 144 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Zsolt Parragi proposed warnings when REPACK or CLUSTER skips foreign-table partitions, matching VACUUM's visibility while retaining errors for direct operations on foreign tables #1.
- Antonin Houska identified this as longstanding CLUSTER behavior rather than a REPACK regression #2, while Bharath Rupireddy supported fixing HEAD and requested consistent behavior and simpler documentation #3.
- Following shihao zhong's review, Zsolt reused the inheritance list for non-index operations and removed a redundant foreign-only test #5 #6; shihao approved that revision #7.
- Fujii Masao found that the warnings bypassed privilege checks #9, prompting Zsolt to give permission warnings precedence and add corresponding tests while retaining the existing approach of collecting partitions without locking them #10.
- Fujii then raised list cleanup, traversal overhead, and concurrent partition deletion concerns #11; Zsolt tried integrating warnings into the existing traversal, added a vanished-name check and nested-partition tests, and reported no measurable performance difference #12.
- Zsolt also identified a broader preexisting race in unlocked inheritance traversal and deferred that issue to a separate thread #12, while solai v reported successful regression and manual testing of the alternative implementation #13.
- Surya Poondla found that the alternative's direct find_inheritance_children() call would not benefit from the separate race fix and suggested returning to the simpler traversal #14; Zsolt restored that approach with cleanup and vanished-name handling, retaining the expanded tests #15.
- Fujii Masao and Surya Poondla approved the final patch #16 #17, and Fujii committed its diff unchanged as af09050801, with a rewritten commit message clarifying that database-wide operations still skip foreign tables silently.
- The thread ends with Fujii's confirmation that the patch was pushed #18; the warning change is complete, while the broader inheritance-traversal race remains assigned to the separate discussion described in #15.