model-writtenrun 10240 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Amul Sul reported that pg_dump skipped foreign keys on partitioned tables because their triggers exist only on leaf partitions, and proposed bypassing the trigger check rather than changing the catalog flag #1.
- Michael Paquier rejected changing the correctly unset catalog flag and supplied a client-side fix that makes getConstraints() inspect partitioned tables regardless of hastriggers #2.
- Alvaro Herrera retained Michael's fix and added a pg_dump regression test for a foreign key on a partitioned table #4.
- Michael requested coverage for child partitions #5; Alvaro supplied an inline test extension creating a child but deferred post-restore catalog verification because restore tests remained TODO #6, and Michael agreed that dumping the parent constraint was sufficient #7.
- Amul confirmed that Alvaro's posted patch worked for him #8.
- Alvaro committed the tested patch with the child-partition test extension and minor formatting changes as 93ad00c968, then confirmed it was pushed, closing the fix while post-restore verification remained deferred #9.