Apr 2024

1 commit
Refactoring for CommitTransactionCommand()/AbortCurrentTransaction()
17 Apr 2024Alexander Korotkovmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #431 of 1 reviewer saw the final version

Matches the transaction-state refactoring in #43, with empty braced loop bodies replacing semicolons as requested in #44, plus comment wrapping. Both the attachment and commit explicitly credit Andres Freund as author.

  • Alexander Korotkovsaw the final versioncommittercommitted the patch

Mar 2024

3 commits
Turn tail recursion into iteration in CommitTransactionCommand()
8 Mar 2024Alexander Korotkovmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #310 of 2 reviewers saw the final version

Takes the transaction-wrapper component of #31, changing only a comment's line wrapping; the other two components landed separately. The attachment and commit credit Alexander Korotkov and Heikki Linnakangas.

  • Egor Chindyaskinsaw an earlier versionLLM analysis, 99% sureReported successful stress testing of the original transaction fix with assertions and optimization disabled in #22, before the local-loop and wrapper redesigns.
  • Robert Haassaw an earlier versionLLM analysis, 100% sureRequested a goto-free implementation in #23 and #27 and assessed the local-loop version's readability in #29, before the wrapper redesign.
Avoid stack overflow in ShowTransactionStateRec()
8 Mar 2024Alexander Korotkovmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #312 of 3 reviewers saw the final version

Exactly matches the ShowTransactionStateRec() component of the three-patch submission #31; the transaction-wrapper and memory-context components landed separately. Its implementation is unchanged from Heikki's #21.

  • Robert Haassaw the final versiontrailerQuestioned the special diagnostic handling in #23, and the implementation he reviewed remained unchanged through commitment.
  • Andres Freundno review foundtrailerHis pre-commit discussion in #24 concerns MemoryContextStats(), with no identifiable review of ShowTransactionStateRec().
  • Alexander Korotkovsaw the final versiontrailerSaid the diagnostic patch looked good in #30, retained it unchanged in #31, and committed it.
Avoid recursion in MemoryContext functions
8 Mar 2024Alexander Korotkovmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #322 of 4 reviewers saw the final version

The added and removed lines in src/backend/utils/mmgr/mcxt.c and src/include/utils/memutils.h match #32 exactly. Tom Lane revised Heikki Linnakangas's implementation from #21, and the commit retains Heikki's author credit.

  • Robert Haassaw an earlier versiontrailerDiscussed memory-context error handling and simplicity in #23 and #25, before later changes to memory accounting and summary-count logic.
  • Andres Freundsaw an earlier versiontrailerExplained in #24 why MemoryContextStats() must remain safe during allocation failure and abort processing, before subsequent local logic fixes.
  • Alexander Korotkovsaw the final versiontrailerReviewed Heikki's implementation in #30, revised it in #31, and committed the final version.
  • Tom Lanesaw the final versiontrailerFound compilation and summary-count bugs in #31 and supplied the committed replacement in #32.

Feb 2024

1 commit
Add missing check_stack_depth() to some recursive functions
16 Feb 2024Alexander Korotkovmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #301 of 1 reviewer saw the final version

Exactly matches the ordinary-checks component of #30, covering dependency.c, heap.c, tablecmds.c, clauses.c, and jsonpath_exec.c. That message explicitly extracts this work from Egor's #20, while leaving the transaction component uncommitted.

  • Alexander Korotkovsaw the final versioncommittercommitted the patch

Aug 2022

2 commits
In the Snowball dictionary, don't try to stem excessively-long words.
31 Aug 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15beta4REL_14_STABLE14.6REL_13_STABLE13.9+3 more
LLM analysis, 100% surelanded as postedfrom patchset #132 of 2 reviewers saw the final version

The development-branch commit exactly matches #13: words exceeding 1000 bytes bypass stemming and are returned case-folded. The separately listed cba393a10a is its PostgreSQL 10 backport.

  • Richard Guosaw the final versionLLM analysis, 100% sureExplicitly approved #13 in #14 and explained how the length limit prevents the Turkish-stemmer overflow.
  • Olly Bettssaw the final versionLLM analysis, 95% sureThe commit message credits Olly Betts with recommending the adopted length-limit solution; he has no message in this thread.
Defend against stack overrun in a few more places.
24 Aug 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15beta4REL_14_STABLE14.6REL_13_STABLE13.9+3 more
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #61 of 2 reviewers saw the final version

The development-branch commit preserves the spell.c, geo_ops.c, and like_support.c checks from #6, drops the Snowball edit, and converts next() to iteration following #10. The separately listed f5157a9acc is its PostgreSQL 10 backport.

  • mahendrakar ssaw an earlier versionLLM analysis, 100% sureSaid the patch looked good in #7, before Tom Lane replaced the regex check with iteration and excluded the stemmer change.
  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 7 commits

Author
Heikki Linnakangas3
Alexander Korotkov1
Andres Freund1
Egor ChindyaskinLLM1
Richard GuoLLM1
Tom LaneLLM1
Reviewer
Alexander Korotkovcommitter4
Andres Freund2
Robert Haas2
Tom Lanecommitter2
Reported by
Alexander Lakhin1
Andres Freund1
Egor Chindyaskin1
Committer
Alexander Korotkov5
Tom Lane2

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