model-writtenrun 7773 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Heikki Linnakangas proposed buffering approximately 8 kB per CopyData message for psql \copy FROM, reporting that his ten-million-row test reduced network traffic from about 120 MB to just over 70 MB and runtime from about 3.04 to 2.49 seconds #1.
- Tom Lane explained that the protocol permits arbitrary message boundaries for COPY FROM but requires one message per row for COPY TO, making the proposed server-side follow-up a wire protocol change #2.
- Aleksander Alekseev tested the patch on macOS against master, reported passing installcheck-world and feature checks, and marked it ready for a committer while leaving COPY TO compatibility questions for a future patch #3.
- During his final review, Heikki found that the patch printed the initial interactive prompt twice and corrected that bug before pushing #4.
- The buffering patch from #1 landed with the prompt correction and minor cleanup as eec57115e4, with completion confirmed in the thread's final message #4; server-side COPY TO batching remained outside this change.