Aug 2022

1 commit
Fix nbtree maximum item size macro.
5 Aug 2022Peter Geogheganmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The attachment enlarges BTPageOpaqueData solely to reproduce the problem #1; the commit instead changes BTMaxItemSize in src/include/access/nbtree.h to subtract MAXALIGN(sizeof(ItemPointerData)) after division and rounding. Peter authored and announced this fix without posting a matching attachment #9 92f375056c.

  • Robert Haassaw the final versionLLM analysis, 98% sureRobert demonstrated the failure and proposed moving the heap-TID subtraction to the end of the calculation, which Peter implemented in the discussion-derived fix #1 92f375056c.

Credits across 1 commit

Author
Peter Geoghegan1
Reported by
Robert Haas1
Committer
Peter Geoghegan1