Sep 2022

1 commit
pgstat: Create memory contexts below TopMemoryContext
17 Sep 2022Andres Freundmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15rc1
LLM analysis, 100% surelanded as postedfrom patchset #152 of 2 reviewers saw the final version

The commit and #15 have identical stable patch IDs: both replace CacheMemoryContext with TopMemoryContext at three allocation sites in src/backend/utils/activity/pgstat.c and src/backend/utils/activity/pgstat_shmem.c. Only base hashes and hunk locations differ.

  • Kyotaro Horiguchisaw the final versiontrailerHe proposed initialization changes in #3 and #5, then approved the final patch and reported successful make check-world testing with an added non-null-parent assertion in #16.
  • Andres Freundsaw the final versiontrailerHe challenged eager allocation and proposed TopMemoryContext in #7, reinforced the allocation-lifetime objection in #13, and reviewed the final version as committer, announcing the push in #18.

Credits across 1 commit

Author
Bertrand Drouvot1
Reviewer
Andres Freund1
Kyotaro Horiguchi1
Reported by
Reid Thompson1
Committer
Andres Freund1