Aug 2025

4 commits
Remove HASH_DEBUG output from dynahash.c
18 Aug 2025David Rowleymaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #263 of 3 reviewers saw the final version

This takes the HASH_DEBUG-removal component of #26, adding the compilation-control comment correction requested in #28; the statistics component landed separately. The commit credits Hayato Kuroda, whose removal patch appeared in #6, despite David Rowley sending the final series.

  • Michael Paquiersaw the final versiontrailerMichael initially argued for retaining the functionality in #7, subsequently supported removal in #25, and approved the final series in #27.
  • Tom Lanesaw the final versiontrailerTom argued for removing the static initialization output in #23 and approved the final series subject to the comment correction supplied in #28.
  • David Rowleysaw the final versioncommittercommitted the patch
Use elog(DEBUG4) for dynahash.c statistics output
18 Aug 2025David Rowleymaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #262 of 2 reviewers saw the final version

The changed lines exactly match the statistics component of #26 in src/backend/utils/hash/dynahash.c and src/include/utils/hsearch.h. This commits one of the two submitted patches, with no implementation changes to that component.

  • Tom Lanesaw the final versiontrailerTom requested identifiable single-line output and NULL-safe debugger use in #16, then approved the final series apart from its separate removal patch's comment in #28.
  • Michael Paquiersaw the final versiontrailerMichael endorsed removing global counters and using DEBUG4 in #18, then approved the final series in #27.
Fix invalid format string in HASH_DEBUG code
15 Aug 2025David Rowleymaster19beta1REL_19_STABLE19beta1REL_18_STABLE18rc1REL_17_STABLE17.7REL_16_STABLE16.11REL_15_STABLE15.15REL_14_STABLE14.20
LLM analysis, 94% surepart of a posted patchsetmoderate changesfrom patchset #10 of 2 reviewers saw the final version

This extracts the HASH_DEBUG format-string repair from #1, but preserves hexadecimal %x for HIGH MASK instead of the proposed %u. David Rowley explicitly explains in #12 that he replaced the proposed correction, and the commit credits him as author.

  • Tom Lanesaw an earlier versionLLM analysis, 84% sureTom investigated the HASH_DEBUG regression with git bisect in #3, before David's later correction to the proposed format string described in #12.
  • Michael Paquiersaw an earlier versionLLM analysis, 87% sureMichael assessed the proposed fixes as straightforward and supported fixing and backpatching HASH_DEBUG in #7 and #10, before the format-string adjustment described in #12.
Fix failing -D HASH_STATISTICS builds
15 Aug 2025David Rowleymaster19beta1REL_19_STABLE19beta1REL_18_STABLE18rc1REL_17_STABLE17.7
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #62 of 2 reviewers saw the final version

This exactly takes the HASH_STATISTICS component of #6, adding HASHHDR *hctl = hashp->hctl inside hash_update_hash_key() in src/backend/utils/hash/dynahash.c. The accompanying HASH_DEBUG-removal component was not included.

  • David Rowleysaw the final versiontrailerDavid identified the regression in #2, announced the statistics fix and backpatch in #9, and reviewed the committed version as its committer.
  • Tom Lanesaw the final versiontrailerTom traced the HASH_STATISTICS regression in #3 and discussed keeping the two changes separate in #8, with the statistics fix subsequently committed unchanged.

Credits across 4 commits

Author
David Rowley2
Hayato Kuroda (Fujitsu)2
Reviewer
Tom Lane3
David Rowleycommitter2
Michael Paquier2
Reported by
Hayato Kuroda (Fujitsu)1
Committer
David Rowley4