Dec 2023

2 commits
Fix assertion failure with REINDEX and event triggers
6 Dec 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #252 of 2 reviewers saw the final version

The two src/backend/commands/indexcmds.c hunks match #25 exactly; changes are confined to reorganizing and expanding event_trigger regression tests, including partitioned relations. Michael Paquier confirms applying the fix with additional tests in #27.

  • Alexander Lakhinsaw the final versionLLM analysis, 100% sureAfter reporting the assertion failure in #23, he explicitly agreed with #25 and assessed its snapshot invariants in #26; only test changes followed.
  • jian hesaw the final versionLLM analysis, 85% sureBefore the fix attachment existed, he identified the empty-index PopActiveSnapshot() path as the cause in #24, a diagnosis adopted in #25 and acknowledged by c426f7c2b3.
Add support for REINDEX in event triggers
4 Dec 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #211 of 2 reviewers saw the final version

Combines the trigger-routing, statement-propagation, and collection portions of #21, but omits its separate LOGSTMT_DDL change; the commit credits Garrett Thornburg alongside sender jian he. As explained in #22, the committer also inlines the collection helper, adjusts collection placement in indexcmds.c, and trims regression tests.

  • Jim Jonessaw an earlier versiontrailerHe reported the qualifier warning and tested unique and partial indexes in #11, then verified builds, documentation, tests, and repeated reindexing in #13, before the collection architecture was rewritten.
  • Michael Paquiersaw the final versiontrailerHe reviewed documentation and collection correctness in #2 and #16, requested restructuring in #18, and reviewed and edited the final version as its committer, as described in #22.

Credits across 2 commits

Author
Garrett Thornburg1
jian he1
Michael PaquierLLM1
Reviewer
Jim Jones1
Michael Paquier1
Reported by
Alexander Lakhin1
Committer
Michael Paquier2

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