model-writtenrun 9710 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier proposed a separate pg_partition_root function in #1 to retrieve the topmost ancestor of a table or index, addressing Álvaro Herrera's use case and complementing pg_partition_tree; the initial patch also included a crash fix being handled separately.
- Álvaro Herrera recommended replacing repetitive root checks with tests of pg_partition_tree(pg_partition_root(...)) in #2, and Michael incorporated that approach in #4 while rebasing over the separate fixes and making unsupported relation kinds return NULL.
- Amit Langote's review in #5 led to clearer documentation, a renamed validation helper, and corrected comments in #6; Michael retained the existence check inside the shared helper so both partition functions would enforce the same semantics.
- After a pause, Michael rebased the patch and moved it to the next CommitFest in #7; Amit resumed review in #8, and Michael incorporated his final comment changes in #9.
- Álvaro reported that his later inspection had found the patch sound and supported committing it in #12, although he had not yet tried the intended psql constraint-display query.
- Michael committed #9 as 3677a0b26b with only an added catalog-version bump, then confirmed completion and thanked the reviewers in #13, leaving the proposed function fully landed.