Apr 2025

1 commit
Revert "Improve accounting for memory used by shared hash tables"
4 Apr 2025Tomas Vondramaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1revert
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

This reverts f5930f9a98 after David Rowley's reproducer in #2 and Tomas Vondra's diagnosis in #4 that private hash directory expansion frees a pointer inside a combined allocation. The diff restores separate private hash allocations in src/backend/utils/hash/dynahash.c and the previous shared-memory sizing API; Tomas confirms the revert in #5.

  • David Rowleysaw the final versionLLM analysis, 94% sureDavid supplied a reproducer and bisected the invalid-pointer failure to the accounting change in #2, prompting the revert confirmed in #5.

Credits across 1 commit

Committer
Tomas Vondra1