model-writtenrun 3913 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Svante Richter reported that CSV exported by COPY could fail when imported with psql's \copy because a line containing only \. inside a quoted multiline field prematurely terminates input; he supplied a reproducer and described the risk of subsequent untrusted input being interpreted as commands #1.
- Noah Misch supported documenting the limitation and proposed ignoring the end marker when reading separate files or programs; Tom Lane agreed that the marker was necessary for input sharing the command stream but should not extend to separate files #3 #4.
- Bruce Momjian found an existing source comment acknowledging the bug and a discussion dating to 2012, while Noah Misch explained that removing protocol v2 had eliminated a server-side obstacle to fixing cases other than FROM STDIN #5 #6.
- After more than a year, Bruce Momjian submitted a documentation warning and source-comment link, choosing to document current behavior across supported versions and leave a behavioral fix for later #7.
- The patch landed on the development branch as 42d3125ada with only an added blank comment line; the separately listed candidate 930bc76bec is its PostgreSQL 11 backport and preserves the submitted additions exactly #7.
- Bruce Momjian confirmed application to all supported versions, completing the documentation work while leaving the CSV input behavior unchanged and the proposed file-input fix unimplemented in this thread #8 #7.