model-writtenrun 8761 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alvaro Herrera proposed recording trigger parentage directly in pg_trigger.tgparentid in #1, replacing a pg_depend scan because dependency records should not supply this semantic information, rather than because of a performance concern.
- Tom Lane requested a definition of parent trigger in #2, while Amit Langote explained in #3 and #4 how the cloning comment should distinguish a parent that is itself a partition and explain why its inherited internal triggers must also be cloned.
- Alvaro incorporated both documentation clarifications in #5 without changing the implementation and announced an audit of the broader trigger documentation; Amit's subsequent wording query in #6 was resolved by Alvaro's explanation in #7 and Amit's acknowledgment in #8.
- The documentation audit led to 3acfe6b089, which corrected trigger.sgml to allow row-level AFTER triggers on partitioned tables while retaining the restriction on BEFORE triggers; this correction was not included in either attached patchset.
- Alvaro committed #5 as b9b408c487 with additional regression fixtures retaining multilevel partition triggers, explaining in #9 that pg_upgrade and findoidjoins should encounter nonzero tgparentid values.
- At the thread's close, both changes had landed, but Alvaro had deferred updating findoidjoins because of numerous apparent false positives in #9; Tom supported waiting until the usual post-feature-freeze update in #10.