Oct 2022

4 commits
Add auxiliary lists to GUC data structures for better performance.
14 Oct 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #181 of 1 reviewer saw the final version

f13b2088fa takes the complete auxiliary-list component of the four-patch series in #18. Its changes to src/backend/utils/misc/guc.c and src/include/utils/guc_tables.h match that component exactly after normalizing diff offsets and index hashes; partial denotes the series subset.

  • Andres Freundsaw the final versionLLM analysis, 90% sureAndres endorsed the auxiliary-list approach in #2, and this component reached #18 with only rebase adjustments.
Replace the sorted array of GUC variables with a hash table.
14 Oct 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #182 of 2 reviewers saw the final version

3057465acf takes the complete hash-table component of #18, including guc.c lookup changes and guc_funcs.c display adaptations. Its diff matches that component after normalizing offsets and index hashes; the other three series components landed separately.

  • Andres Freundsaw the final versionLLM analysis, 97% sureAndres supported dynahash and discussed string-key locality and lookup performance in #2, with only light adjustments following in #17 and #18.
  • Junwang Zhaosaw the final versionLLM analysis, 90% sureJunwang questioned the hash-table slack calculation's comment in #4 and accepted Tom's explanation in #6, so that review required no code change.
Store GUC data in a memory context, instead of using malloc().
14 Oct 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #181 of 1 reviewer saw the final version

407b50f2d4 takes the complete GUCMemoryContext conversion from #18, including check-hook allocation changes and the ownership assertions. The component's diff is unchanged after normalizing offsets and index hashes, but represents only one part of the submitted series.

  • Andres Freundsaw the final versionLLM analysis, 98% sureAndres endorsed context-managed GUC storage and suggested assertions to diagnose allocations from the wrong context in #2, an idea reflected in the light diagnostic additions in #18.
Make some minor improvements in memory-context infrastructure.
14 Oct 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #18

9c911ec065 takes the complete memory-infrastructure prerequisite from #18: repalloc_extended(), the repalloc_huge() wrapper, and dynahash HASH_ENTER_NULL support. Its three-file diff matches that component exactly after normalizing offsets and index hashes; partial denotes selection of one component from the series.

Credits across 4 commits

Author
Tom LaneLLM4
Committer
Tom Lane4

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