Dec 2018

1 commit
Small improvements for allocation logic in ginHeapTupleFastCollect().
19 Dec 2018Tom Lanemaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #31 of 1 reviewer saw the final version

The commit retains #3's power-of-two initialization and single repalloc() in src/backend/access/gin/ginfast.c, but replaces its INT_MAX growth cap with an upfront check for negative nentries and a total exceeding MaxAllocSize / sizeof(IndexTuple). Tom Lane explains the overflow correction and confirms pushing it in #4.

  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
David RowleyLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane1

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