Feb 2023

1 commit
Limit memory usage of pg_walinspect functions.
20 Feb 2023Jeff Davismaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15.3
LLM analysis, 96% suremodified before commitmoderate changesfrom patchset #41 of 3 reviewers saw the final version

The commit adds temporary contexts to GetWALRecordsInfo(), pg_get_wal_fpi_info(), and GetXLogSummaryStats() in contrib/pg_walinspect/pg_walinspect.c. Jeff explicitly identifies the submission #4 as the basis and says he added the GetXLogSummaryStats() changes #8; missing attachments prevent direct diff comparison.

  • Andres Freundsaw an earlier versionLLM analysis, 80% sureBefore attachment submission, Andres identified two additional per-record StringInfo leaks and advocated the per-row resettable context adopted by Bharath, with the statistics-loop extension added later #2 #4 #8.
  • Michael Paquiersaw an earlier versionLLM analysis, 97% sureMichael said the submitted approach looked OK and confirmed the full-page-image path could have equally severe memory growth, before Jeff added statistics-loop cleanup #5 #8.
  • Jeff Davissaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Bharath Rupireddy1
Reviewer
Jeff Daviscommitter1
Reported by
Peter Geoghegan1
Committer
Jeff Davis1