Jan 2026

1 commit
Fix rare test failure in nbtree_half_dead_pages
16 Jan 2026Heikki Linnakangasmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

The commit adds wait_prunable() and calls it before VACUUM in src/test/modules/nbtree/sql/nbtree_half_dead_pages.sql, with corresponding expected output. The attachment in #12 only repeats the test; Heikki describes the separately developed snapshot-horizon fix in #13.

  • Tom Lanesaw the final versionLLM analysis, 90% sureTom reported buildfarm failures in the landed half-dead-page test from #8, identifying the missing injection-point error and notice in #11; subsequent changes were confined to test reproduction and stabilization.
  • Alexander Lakhinsaw the final versionLLM analysis, 96% sureAlexander reproduced failures of the test from #8 and traced them to autovacuum retaining snapshots in #12, providing the diagnosis used by the committed fix.

Dec 2025

4 commits
Fix amcheck's handling of half-dead B-tree pages
2 Dec 2025Heikki Linnakangasmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.2REL_17_STABLE17.8REL_16_STABLE16.12REL_15_STABLE15.16REL_14_STABLE14.21
LLM analysis, 100% surelanded as postedfrom patchset #82 of 2 reviewers saw the final version

The diff matches the fourth patch in #8: bt_child_highkey_check() skips half-dead pages, and the half-dead-page regression test gains amcheck calls and expected output.

  • Peter Geoghegansaw the final versiontrailerPeter reviewed all four attached patches and said they seemed reasonable in #9.
  • Mihail Nikalayeusaw the final versiontrailerMihail endorsed skipping the child high-key check for half-dead pages in #2, reviewing the eventual fix concept before its attached implementation.
Add a test for half-dead pages in B-tree indexes
2 Dec 2025Heikki Linnakangasmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #81 of 1 reviewer saw the final version

The diff matches the third patch in #8, adding injection points in src/backend/access/nbtree/nbtpage.c and the half-dead-page SQL test, expected output, and Meson registration.

  • Peter Geoghegansaw the final versiontrailerPeter reviewed the complete series in #9 and specifically welcomed the increased nbtree test coverage.
Fix amcheck's handling of incomplete root splits in B-tree
2 Dec 2025Heikki Linnakangasmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.2REL_17_STABLE17.8REL_16_STABLE16.12REL_15_STABLE15.16REL_14_STABLE14.21
LLM analysis, 100% suremodified before commitlight changesfrom patchset #81 of 1 reviewer saw the final version

The commit preserves the second patch in #8, including the P_INCOMPLETE_SPLIT exception in contrib/amcheck/verify_nbtree.c and its regression checks. Its sole additional hunk adds contrib/amcheck to EXTRA_INSTALL in src/test/modules/nbtree/Makefile.

  • Peter Geoghegansaw the final versiontrailerPeter approved the series and acknowledged the newly discovered root-split bug in #9, after which only a test installation dependency was added.
Add a test for incomplete splits in B-tree indexes
2 Dec 2025Heikki Linnakangasmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #81 of 1 reviewer saw the final version

The diff matches the first patch in #8, adding incomplete-split injection points in src/backend/access/nbtree/nbtinsert.c and the new src/test/modules/nbtree test infrastructure.

  • Peter Geoghegansaw the final versiontrailerPeter reviewed the complete series in #9 and specifically welcomed the increased nbtree test coverage.

Credits across 5 commits

Author
Heikki LinnakangasLLM4
Reviewer
Peter Geoghegan4
Mihail Nikalayeu1
Reported by
Konstantin Knizhnik1
Committer
Heikki Linnakangas5

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