Nov 2026

1 commit
Use branchless comparisons in btint4cmp and btint8cmp, for speed
5 Nov 2026Heikki Linnakangasmasterunreleased
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #522 of 4 reviewers saw the final version

Commits only the branchless integer-comparison member of #52, preserving its pg_cmp_s32 and pg_cmp_s64 calls in src/backend/access/nbtree/nbtcompare.c while moving the common/int.h include into alphabetical order and shortening the commit explanation. Heikki confirms the selective landing in #53.

  • Matthias van de Meentsaw the final versiontrailerExplicitly approved the branchless-comparison member in #48 and #50, after which that member received only light changes.
  • Kirill Reshkeno review foundtrailerAlthough credited by the commit, his review in #3 reports whitespace problems and benchmarks of other series members without identifiable review of the branchless integer-comparison change.
  • Japin Lisaw an earlier versiontrailerReviewed the int4-only implementation in #44 and requested extending it to btint8cmp, which added another comparator case in #45.
  • Heikki Linnakangassaw the final versioncommittercommitted the patch

Apr 2026

4 commits
Change PointerGetDatum() back to a macro
17 Apr 2026Heikki Linnakangasmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surewritten from the discussion, no matching patch3 of 3 reviewers saw the final version

Implements Heikki Linnakangas's inline PointerGetDatum macro from #31 in src/include/postgres.h, with explanatory comments, following the Coverity report in #18. No attached patchset contains this change; #40 announces its commit.

  • Tom Lanesaw the final versionLLM analysis, 100% sureReported the Coverity problem in #18, advocated testing a minimal fix in #36, and accepted the macro proposal in #39 before it landed.
  • Peter Eisentrautsaw the final versionLLM analysis, 93% sureReviewed the proposed macro and its constness contract in #34, questioning the correctness rationale and explaining the alternative of a separate API for mutable pointer Datums.
  • Andres Freundsaw the final versionLLM analysis, 88% sureChallenged changing PointerGetDatum semantics without auditing callers in #37, a concern acknowledged in #38 before the compatibility-preserving macro landed.
Replace deprecated StaticAssertStmt() with StaticAssertDecl()
14 Apr 2026Heikki Linnakangasmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #203 of 3 reviewers saw the final version

Matches the block-scoped StaticAssertDecl replacement in #20; the committed ginutil.c hunk only rewords the palloc0 comment and adds spacing to the assertion's diagnostic string.

  • Peter Eisentrautsaw the final versionLLM analysis, 100% sureRequested keeping the assertion beside palloc0_array and clarifying its purpose in #19, changes adopted by #20 with only light edits afterward.
  • David Geiersaw the final versionLLM analysis, 99% sureSaid the revised assertion fix looked good in #21 before the commit.
  • Heikki Linnakangassaw the final versioncommittercommitted the patch
Optimize sorting and deduplicating trigrams
7 Apr 2026Heikki Linnakangasmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #141 of 2 reviewers saw the final version

Combines the templated trigram sort and equality-only comparator from #14, leaving the other series members out. As explained in #15, the committer additionally factors duplicated signedness dispatch into trigram_qsort and adds trigram_qunique in contrib/pg_trgm/trgm_op.c.

  • Kirill Reshkesaw an earlier versiontrailerApplied the initial series and reported a whitespace defect in its templated trigram-sort patch in #3, before the committed helper-function refactoring described in #15.
  • Heikki Linnakangassaw the final versioncommittercommitted the patch
Optimize sort and deduplication in ginExtractEntries()
7 Apr 2026Heikki Linnakangasmaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #141 of 1 reviewer saw the final version

Takes the ginExtractEntries patch from #14, preserving NULL removal, templated Datum sorting, qunique_arg and zero-initialized categories, with only comment and whitespace edits. Its implementation incorporates Heikki Linnakangas's #6 and David Geier's additions in #9; the commit credits David.

  • Heikki Linnakangassaw the final versioncommittercommitted the patch

Jan 2026

1 commit
Inline ginCompareAttEntries for speed
9 Jan 2026Heikki Linnakangasmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #42 of 2 reviewers saw the final version

Exactly matches the first member of #4 by stable patch ID, moving ginCompareEntries and ginCompareAttEntries from ginutil.c into gin_private.h as inline functions. The other seven members were not included, and #6 confirms the selective landing.

  • Kirill Reshkesaw the final versionLLM analysis, 100% sureBenchmarked the inlining patch separately and reported a 4–5% improvement in #3; that patch remained unchanged in #4 and the commit.
  • Heikki Linnakangassaw the final versioncommittercommitted the patch

Credits across 6 commits

Author
David Geier4
Bertrand Drouvot1
Reviewer
Heikki Linnakangascommitter5
Kirill Reshke2
Japin Li1
Matthias van de Meent1
Committer
Heikki Linnakangas6