model-writtenrun 5411 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Yugo Nagata proposed allowing TRUNCATE triggers on foreign tables for audit logging and preventing unwanted truncation, supplying implementation, regression tests, and documentation in #1.
- Fujii Masao found that the documentation covered BEFORE but omitted AFTER TRUNCATE triggers in #2; Yugo corrected that omission in #3, and Fujii approved the revision in #4.
- Ian Lawrence Barwick demonstrated that the revised patch allowed trigger creation even when the FDW could not truncate its table, and proposed rejecting such definitions in #5.
- Yugo explained in #6 that INSERT, DELETE, and UPDATE triggers already permit analogous definitions, so capability checks should be separate work covering all operations; Ian accepted that rationale in #7, leaving the patch unchanged.
- Fujii committed #3 unchanged as 3b00a944a9 and announced the landing in #8; Yugo acknowledged it in #9, closing the thread with the proposed feature fully landed.