model-writtenrun 472 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Zsolt Parragi reported that psql -c aborted the connection when COPY FROM STDIN followed another statement, and proposed scanning past every semicolon with regression tests #1.
- Christoph Berg confirmed that Debian package tests encountered the same regression when setting an encoding, creating a table, and copying data in one command string, demonstrating a practical affected workflow #2.
- Tom Lane requested an explanation of backslash-command handling, removal of the query-buffer reset, and reuse of the existing TAP test server #3; Zsolt incorporated those changes in the next patch #4.
- Tom Lane then revised the patch to expect no COPY input when scanning stops on a backslash command or incomplete syntax, preserving previous behavior for invalid strings, and consolidated testing into a two-COPY case covering backslash-dot and EOF termination #5.
- Zsolt approved the revised behavior and accepted the simplified test despite finding the removed examples more representative of real usage #6.
- Tom Lane committed the final patch #5 unchanged as 0d7baa209a, with backpatching through PostgreSQL 14, and confirmed it was pushed, leaving no outstanding work in the thread #7.