model-writtenrun 418 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Hayato Kuroda reported resource-leak warnings for partition leaves with AFTER triggers and proposed explicitly closing trigger-target relations in the logical replication worker's finish_edata() cleanup #1.
- David Rowley confirmed that the patch eliminated the warnings, replaced direct executor-state access with a shared ExecCloseTrigTargetRelations() helper, and added subscriber-log checks; he supplied branch-specific variants while leaving broader TAP-harness leak checking unexplored #2.
- Zhijie Hou approved the fix but questioned the test description; after David initially interpreted it as failure text, Zhijie explained that it names the successful absence-of-leaks check #3 #4 #5.
- Hayato endorsed the revised patches and requested consistent test changes across the branch variants #6.
- David committed the revised patch from #2 with only light changes, including the test description 'check for resource leaks on', as 1051099a90, with backports through PostgreSQL 15; his closing message confirmed the push and acknowledged the misunderstanding about TAP test names #7.