Sep 2025

1 commit
Fix corruption of pgstats shared hashtable due to OOM failures
8 Sep 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.0REL_17_STABLE17.7REL_16_STABLE16.11REL_15_STABLE15.15
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #101 of 3 reviewers saw the final version

The commit takes the first patch from #10, omitting its separate injection-point patch, and credits Mikhail Kot as author despite Michael Paquier sending that revision. It changes pgstat_read_statsfile() from WARNING plus cleanup to ERROR, preserving startup failure behavior, and adjusts comments and error details in pgstat_shmem.c, as confirmed in #16.

  • Ranier Vilelasaw an earlier versionLLM analysis, 97% sureRanier proposed raising ERROR instead of propagating NULL through numerous checks in #6, a direction adopted through subsequent substantial revisions.
  • Steven Niusaw an earlier versionLLM analysis, 90% sureSteven questioned whether allocation failure could leave shheader NULL and break subsequent operations in #8 and #11, prompting clarification of the earlier patch's exception handling.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Mikhail Kot1
Reviewer
Michael Paquiercommitter1
Committer
Michael Paquier1