model-writtenrun 8880 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Petr Fedorov reported that row triggers were missing from sub-partitions created after the parent trigger, providing a reproduction on PostgreSQL 11.6 in #1.
- Amit Langote diagnosed the internal-trigger filter and proposed removing the internal flag from cloned triggers in #2; Alvaro Herrera identified a pg_dump regression in #3, prompting Amit to add dump filtering in #4.
- Alvaro independently added pg_dump regression coverage in 27a3b2ad83 and announced its application to three branches in #5; this test was never posted as an attachment.
- Alvaro supplied a regression test for creating and attaching sub-partitions in #6, confirmed it passed with Amit's fix, and raised the need to avoid catalog repairs for existing databases.
- Alvaro replaced Amit's approach in #7 with selective cloning of internal triggers identified through pg_depend, retaining the regression test while leaving pg_dump and existing catalog flags unchanged; he suggested a future parent-trigger catalog column as a cleaner design.
- Amit reviewed the replacement and requested the helper name isPartitionTrigger in the thread's final message #8; Alvaro subsequently committed both patches with that rename and comment cleanup as 1fa846f1c9.
- Both the dump coverage and cloning fix landed, while the parent-trigger catalog column remained a proposed follow-up in #7, which also noted that databases already missing triggers could still need attention.