model-writtenrun 2288 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Anthonin Bonnefoy proposed psql pipeline support in #1, adding start, synchronization and end commands so protocol behavior could be tested with SQL regression scripts instead of only pgbench TAP tests.
- Kirill Reshke questioned synchronization naming and reported confusing transaction-prompt behavior in #2 and #3; Anthonin retained \syncpipeline and introduced a pipeline indicator in #8, explaining that libpq's busy state could produce the transaction marker before commands reached the server.
- Jelte Fennema-Nio tested the initial patch and requested explicit flush, flush-request and result-retrieval controls in #4, then explained their interactive and testing uses in #7; Anthonin implemented them in #9, introducing counters and handling for partially consumed or aborted pipelines.
- Anthonin simplified result iteration and added chunked-result tests in #10; Jelte's testing in #11 then led to clearer counter semantics and an optional count on \getresults in #12, avoiding a separate singular-result command.
- Anthonin subsequently demonstrated that \flush could reproduce blocked server writes and fixed connection-reset handling in #13, then corrected query cancellation and clarified available-result accounting in #14.
- Michael Paquier's detailed review in #15 led to separate pipeline regression files and a separate prompt patch in #16; the chosen interface kept default prompts unchanged and exposed %P status plus three variables instead of hardcoding counters into the prompt.
- Michael found that pipeline commands executed incorrectly inside inactive conditional branches in #17, and Anthonin corrected their return statuses, supplied missing expected output and documented accumulated libpq errors in #18, leaving the error-stacking question for separate discussion.
- Michael first landed a small COPY-branch brace cleanup as 40af897eb7, credited to Anthonin and described as extracted during integration, although the exact cleanup is absent from the supplied attachments.
- Michael committed the main implementation from #18 as 41625ab8ea after editorial and test cleanup, then posted the deferred utility tests and prompt support in #19 while waiting for buildfarm feedback.
- The remaining components of #19 landed as a4e986ef5a for utility-command transaction tests and 3ce357584e for prompt status and variables, with Michael adding variable-value regression checks as reported in #20.
- Daniel Verite reported that pipeline use silently ignored \g output destinations and formatting in #22; Michael and Anthonin rejected saving per-query printing state as excessive complexity and favored a separate \sendpipeline command in #23 and #24.
- While implementing that command, Anthonin found a filename leak on rejected \gx invocations in #24; its one-line fix landed separately as 54d23601b9, confirmed in #27.
- Daniel proposed accepting ordinary semicolon-terminated queries inside pipelines in #25, allowing existing scripts to benefit without injected \bind commands; Anthonin supplied an inline implementation sketch in #26, and discussion in #29 clarified parameter handling.
- Jelte reported multiline-paste warnings in #31; Anthonin investigated in #32, and Daniel showed in #33 that the behavior also affected existing commands and editor input, so it was left outside the pipeline changes.
- Anthonin submitted separate \sendpipeline and semicolon-support patches in #34; Michael landed the first as 17caf66445, correcting test output and ordering declarations and completions alphabetically as described in #36.
- Anthonin expanded the remaining semicolon patch's synchronization, counter and COPY coverage in #37, while Daniel demonstrated another valid parameter-binding arrangement in #39; Michael reorganized tests and clarified documentation before committing 2cce0fe440, announced in #42.
- Jelte suggested a broader non-pipeline extended-protocol mode in #38, but Michael questioned its value in #41, and Daniel recalled an earlier inconclusive discussion in #43; no such mode was implemented here.
- Noah Misch reviewed the landed feature in #44, identifying an incorrect \getresults error status, confusing flush descriptions and an overcrowded General help section; Michael proposed wording and accepted the section split in #48, and Noah agreed in #49.
- Alexander Kozhemyakin reported a reproducible COPY-followed-by-SELECT assertion failure in #46, and Michael reproduced it and registered an open item in #47.
- Noah's three discussion findings landed independently as 5ee7bd944e for error propagation, 5743d122fc for flush descriptions and 78231baaf9 for the new help section, as confirmed in #50.
- Michael traced the assertion to fatal results during aborted-pipeline cleanup and posted a fix with TAP tests in #51, explaining that semicolon support merely made an older pipeline defect easier to trigger.
- Anthonin found that Michael's first fix discarded useful errors and still asserted when \endpipeline fetched results directly; #53 instead returned fatal results to the outer processing loop and expanded coverage, while avoiding a stderr assertion that failed on Windows.
- Michael extracted the TAP helper's optional replication context from #53 into 0ff95e0a5b, then posted the remaining fix with server-log checks and fewer redundant tests in #54.
- The final assertion fix from #54 landed as 3631612eae, retaining Anthonin's fatal-result handling with comment edits and a single server-log check; #55 closes the last reported open fix, with all submitted feature and repair work landed.