May 2026

1 commit
Fix memory accumulation in pg_sync_replication_slots() during retries.
26 May 2026Amit Kapilamaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #53 of 3 reviewers saw the final version

The diff preserves all functional changes from #5 in src/backend/replication/logical/slotsync.c, renaming cycle_ctx to sync_retry_ctx, changing its diagnostic name, and adding explanatory comments. Amit explicitly selected that version in #10 and confirmed the push in #12.

  • Zhijie Housaw the final versiontrailerIn #3, he supported the approach, explained transaction-abort cleanup, and requested removal of explicit list freeing; only light changes followed before commitment.
  • shveta maliksaw the final versiontrailerIn #2, she supported the context approach, raised error-path cleanup, and requested an explanation of the outer-context switch that was added in #5.
  • Amit Kapilasaw the final versiontrailerHe requested allocation measurements in #4, selected the context approach in #9, checked the revised cleanup in #10, and committed the final version.

Credits across 1 commit

Author
Xuneng Zhou1
Reviewer
Amit Kapila1
shveta malik1
Zhijie Hou (Fujitsu)1
Committer
Amit Kapila1