Mar - Apr 2026

9 commits
Fix some const qualifier use in ri_triggers.c
22 Apr 2026Amit Langotemaster19beta1REL_19_STABLE19beta1
LLM analysis, 98% suremodified before commitlight changesfrom patchset #671 of 1 reviewer saw the final version

The code hunks in src/backend/utils/adt/ri_triggers.c match #67 exactly; the commit adds an explanatory message and Peter Eisentraut's attribution trailers.

  • Amit Langotesaw the final versioncommittercommitted the patch
Move afterTriggerFiringDepth into AfterTriggersData
10 Apr 2026Amit Langotemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #521 of 1 reviewer saw the final version

Takes only the firing-depth cleanup component of #52; its changes to src/backend/commands/trigger.c match after accounting for intervening comment edits.

  • Chao Lisaw the final versiontrailerExplicitly said the callback fix and firing-depth cleanup looked good in #56, while excluding the test module from his review.
Fix typo left by 34a30786293
10 Apr 2026Amit Langotemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

The one-line comment correction in trigger.c was identified by jie wang in #53 and reported still unfixed by Chao Li in #61; no attached patch supplies this correction.

  • jie wangsaw the final versionLLM analysis, 100% sureIdentified the extra letter in FireAfterTriggersBatchCallbacks() in #53, supplying the exact correction subsequently committed.
  • Chao Lisaw the final versionLLM analysis, 100% sureReported in #61 that the previously identified typo survived the landing, prompting the correction promised in #62.
Fix RI fast-path crash under nested C-level SPI
10 Apr 2026Amit Langotemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #521 of 1 reviewer saw the final version

Commits the callback-lifetime fix from #52, with comment wrapping, whitespace, and commit-message edits; the firing-depth cleanup and test module are separate components.

  • Chao Lisaw the final versiontrailerRaised callback-list mutation and re-entrant registration concerns in #51, then endorsed the revised fix in #56.
Add nkeys parameter to recheck_matched_pk_tuple()
9 Apr 2026Amit Langotemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #481 of 1 reviewer saw the final version

Matches #48, adding nkeys to recheck_matched_pk_tuple(), updating both callers, and asserting agreement with ii_NumIndexKeyAttrs.

  • Evan Montgomery-Rechtsaw the final versionLLM analysis, 96% sureExamined the landed batching code from #39 and proposed the explicit nkeys contract in #47, which Amit implemented in #48.
Fix deferred FK check batching introduced by commit b7b27eb41a5
7 Apr 2026Amit Langotemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #44

Matches #44 apart from declaration whitespace, introducing the dedicated AFTER-trigger firing counter; the patch and commit credit Chao Li as author and Amit Langote as co-author.

Optimize fast-path FK checks with batched index probes
3 Apr 2026Amit Langotemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #391 of 2 reviewers saw the final version

Matches the batching implementation in #39, with a corrected duplicated phrase, reordered function declarations, one removed comment, and a revised commit message; no behavioral changes were found.

  • Haibo Yansaw an earlier versiontrailerReviewed batching in #16 and requested bounded allocation contexts, before subsequent snapshot, permission-check, and cache-invalidation changes.
  • Chao Lisaw the final versiontrailerFound the duplicated comment phrase in #40, which Amit confirmed fixing before pushing in #41.
Make FastPathMeta self-contained by copying FmgrInfo structs
1 Apr 2026Amit Langotemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #35

Takes the first component of #35, copying FmgrInfo fields into FastPathMeta without code changes; the accompanying batching patch remains outstanding at that point.

Add fast path for foreign key constraint checks
31 Mar 2026Amit Langotemaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #241 of 1 reviewer saw the final version

Takes the core fast-path component of #24, leaving batching for later; the sole code adjustment adds SO_NONE for the index_beginscan() signature already present in the commit's parent.

  • Haibo Yansaw the final versiontrailerReviewed the series in #16; although his detailed concerns focused on batching, the core component subsequently received only equivalent-condition simplification, comments, formatting, and API rebasing.

Credits across 9 commits

Author
Amit Langote3 LLM5
Chao Li1
Junwang Zhao1
Peter Eisentraut1
Reviewer
Chao Li3
Haibo Yan2
Amit Langotecommitter1
Tested by
Tomas Vondra2
Reported by
Chao Li2
Evan Montgomery-Recht2
jie wang1
Peter Eisentraut1
strk1
Co author
Amit Langote2
Junwang Zhao1
Committer
Amit Langote9

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