May 2026

1 commit
Fix stale COPY progress during logical replication table sync
13 May 2026Fujii Masaomaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24
LLM analysis, 100% surelanded as postedfrom patchset #13 of 3 reviewers saw the final version

The commit diff exactly matches the single-line addition in #1: EndCopyFrom(cstate) immediately after CopyFrom(cstate) in src/backend/replication/logical/tablesync.c. The independent copybuf cleanup from #7 is absent.

  • Fujii Masaosaw the final versiontrailerFujii approved the patch in #2, questioned the need for additional ParseState cleanup in #5, and committed the unchanged code.
  • ChangAo Chensaw the final versiontrailerChangAo proposed calling free_parsestate() after EndCopyFrom() in #3 and agreed its omission was harmless in #6.
  • Chao Lisaw the final versiontrailerChao considered additional attnamelist cleanup in #4 and explained in #7 why transaction-end reclamation made explicit cleanup unnecessary.

Credits across 1 commit

Author
Shinya Kato1
Reviewer
cca55071
Chao Li1
Fujii Masao1
Committer
Fujii Masao1