model-writtenrun 1801 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Anthonin Bonnefoy reported that a COPY response could trap pgbench in an infinite error-cleanup loop because PQgetResult kept returning a non-null result #1.
- Anthonin's patch explicitly handles all three COPY result states, calls PQendcopy before error cleanup, and adds a TAP test verifying that COPY FROM stdin fails cleanly #1.
- Michael Paquier quickly checked the COPY result cases and endorsed failing cleanly, leaving actual COPY support for future work if someone needed it #2.
- Anthonin explained that he discovered the problem while trying to provoke pipeline errors during review of --continue-client-on-abort, and agreed with rejecting unsupported COPY operations #3.
- After the thread ended in agreement, Michael committed the sole patchset #1 with only comment and commit-message edits as 902c08887a, with backpatching through PostgreSQL 13; no submitted work remained outstanding.