Jun 2025

2 commits
Doc: improve description of which role runs a trigger.
5 Jun 2025Tom Lanemaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The doc/src/sgml/trigger.sgml change comes from Noah Misch's inline patch in #43, with 'defined as' changed to 'marked as' as Tom Lane proposed in #44. No attached patchset contains this follow-up wording.

  • Tom Lanesaw the final versiontrailerTom Lane approved the inline documentation patch and suggested its final wording in #44, and he committed the change.
Change role names used in trigger test.
5 Jun 2025Tom Lanemaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
LLM analysis, 100% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

Renames regress_groot and regress_outis to regress_caller and regress_fn_owner in the trigger regression tests, addressing Noah Misch's report in #39. Tom Lane confirmed the change in #42; no attached patchset proposes these names.

  • Noah Mischsaw the final versionLLM analysis, 100% sureNoah Misch identified the avoidable trademark concern in the committed test names in #39, directly prompting this correction.
  • Michael Paquiersaw the final versionLLM analysis, 98% sureMichael Paquier endorsed replacing the problematic role name and proposed a simple rename before the commit in #41.

Jan 2025

2 commits
Ensure that AFTER triggers run as the instigating user.
23 Jan 2025Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #361 of 3 reviewers saw the final version

Matches the implementation and documentation in #36, with declaration placement, comments, and regression-test adjustments. Tom Lane removed the dropped-role test, changed warnings to notices, and strengthened the error-path output, consistent with his account in #37.

  • Joseph Koshakowsaw an earlier versiontrailerJoseph Koshakow reviewed the design and code in #7 and #12, but the role-existence logic was subsequently rewritten and then removed.
  • Pavel Stehulesaw an earlier versiontrailerPavel Stehule requested the syscache check and clearer comments in #25, tested #28 and #30, and requested documentation, before the role-existence check was removed.
  • Tom Lanesaw the final versioncommittercommitted the patch
Reverse the search order in afterTriggerAddEvent().
23 Jan 2025Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surelanded as postedfrom patchset #35

Both hunks in src/backend/commands/trigger.c exactly match #35, including newest-first traversal and allocation of a new shared record when no match exists.

Credits across 4 commits

Author
Tom Lane1 LLM2
Laurenz Albe1
Noah Misch1
Reviewer
Tom Lanecommitter2
Joseph Koshakow1
Pavel Stehule1
Reported by
Noah Misch1
Committer
Tom Lane4

N LLM means N of the credits come from LLM analysis, not from commit trailers.