Sep 2021

2 commits
Fix hash_array
15 Sep 2021Peter Eisentrautmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14rc1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #121 of 1 reviewer saw the final version

851ff93357 contains both fixes from #12 in src/backend/utils/adt/arrayfuncs.c and additionally replaces palloc with palloc0. Tom proposed zero-initialization in #13, and Peter confirmed incorporating it in #14.

  • Tom Lanesaw the final versionLLM analysis, 100% sureTom diagnosed the uninitialized field and permanent allocation leak in #11, then reviewed #12 and proposed the final palloc0 change in #13.
Disable anonymous record hash support except in special cases
8 Sep 2021Peter Eisentrautmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14rc1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #90 of 1 reviewer saw the final version

a3d2b1bbe9 matches #9 across all seven changed files except for the hash_array implementation in src/backend/utils/adt/arrayfuncs.c. It moves synthetic record-entry creation inside the cache-refresh conditional and consolidates the fn_extra assignment, changing when allocation occurs.

  • Tom Lanesaw an earlier versionLLM analysis, 98% sureTom selected the conservative first variant in #8, which Peter developed into #9, but subsequent hash_array logic changed and Tom explicitly said in #11 that he had not reviewed the version before it landed.

Credits across 2 commits

Author
Peter EisentrautLLM2
Reported by
Sait Talha Nisanci1
Committer
Peter Eisentraut2

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