Dec 2024

1 commit
Fix memory leak in pgoutput with relation attribute map
30 Dec 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.3REL_16_STABLE16.7REL_15_STABLE15.11REL_14_STABLE14.16REL_13_STABLE13.19Also in: Memory leak in WAL sender with pgoutput (v10~) (not this thread)
LLM analysis, 82% surelanded as postedfrom patchset #72 of 2 reviewers saw the final version

The commit's sole hunk changes the attribute-map allocation to data->cachectx and updates its lifetime comment in src/backend/replication/pgoutput/pgoutput.c, matching #2; the review #8 and landing announcement #9 identify #7 as the latest submission, although its missing attachments prevent exact comparison. I disagree with the from_discussion attribution in thread #50642: that thread acknowledges the work moved here, its latest patchset predates #7, and its verdict identifies no attachment containing this change.

  • Hou Zhijiesaw the final versiontrailerIn #2 he identified the shutdown-on-error problem and supplied the memory-context alternative, then endorsed the updated patches and questioned remaining streamed_txns allocations in #8.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
vignesh C1
Reviewer
Hou, Zhijie1
Michael Paquiercommitter1
Reported by
Masahiko Sawada1
Committer
Michael Paquier1