Fix FATAL when primary ends streaming with COPY 0

Log in to edit
ID 7654
Title Fix FATAL when primary ends streaming with COPY 0
CI (CFBot) Summary
Stats (from CFBot) Patch version: v2, Patch count: 2, First patch: +17−0, All patches: +49−0
Tags Bugfix
Created 2026-11-17 07:40:09
Last modified 2026-11-17 07:40:09 (29 minutes ago)
Latest email 2026-11-17 07:30:10 (39 minutes ago)
Status
PG20-4 (2027-01-01 – 2027-01-31): Needs review
Target version
Authors Stepan Neretin (snpgg)
Reviewers Log in to become reviewer
Committer
Links
Emails
FATAL: could not send end-of-streaming message to primary: no COPY in progress
First at 2026-11-16 17:58:12 by Stepan Neretin <slpmcf at gmail.com>
Latest at 2026-11-17 07:30:10 by Stepan Neretin <slpmcf at gmail.com>
Latest attachment (v2-0001-Fix-FATAL-when-primary-ends-streaming-with-COPY-0.patch) at 2026-11-17 07:30:10 from Stepan Neretin <slpmcf at gmail.com>
    Attachment (v2-0001-Fix-FATAL-when-primary-ends-streaming-with-COPY-0.patch) at 2026-11-17 07:30:10 from Stepan Neretin <slpmcf at gmail.com> (Patch: No)
    Attachment (0002-Add-TAP-test-for-primary-shutdown-end-of-streaming-F.patch) at 2026-11-16 17:58:12 from Stepan Neretin <slpmcf at gmail.com> (Patch: No)
History
When Who What
2026-11-17 07:40:09 Stepan Neretin (snpgg) Attached mail thread CA+Yyo5S_n3ZcZh-3LXNj2-rxqXnbGd8901Yres0LPUS=tTLjaQ@mail.gmail.com
2026-11-17 07:40:09 Stepan Neretin (snpgg) Created patch record
Log in to edit