Aug 2025

1 commit
Fix use-after-free with INSERT ON CONFLICT changes in reorderbuffer.c
2 Aug 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1REL_18_STABLE18beta3REL_17_STABLE17.6REL_16_STABLE16.10
LLM analysis, 100% surelanded as postedfrom patchset #72 of 2 reviewers saw the final version

The commit exactly matches the one-line patch in #7, passing prev_lsn instead of change->lsn to update_progress_txn() in src/backend/replication/logical/reorderbuffer.c. It credits Ethan Mertz as author and Michael Paquier as co-author, consistent with #1 attributing this solution to Ethan, who posted no message in this thread.

  • Amit Kapilasaw the final versiontrailerAmit explained why progress should use the latest processed LSN in #4 and #6, then approved the revised patch in #9.
  • Masahiko Sawadasaw the final versiontrailerMasahiko approved the initial patch in #2 and accepted the revised behavior in #8.

Credits across 1 commit

Author
Ethan Mertz1
Reviewer
Amit Kapila1
Masahiko Sawada1
Co author
Michael Paquier1
Committer
Michael Paquier1