model-writtenrun 2785 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Anthonin Bonnefoy proposed recognizing pipeline transactions in CheckTransactionBlock() to suppress misleading SET LOCAL warnings, while acknowledging that the first command cannot yet be recognized as belonging to a pipeline #1; Jelte Fennema-Nio supported the change and agreed that the server cannot predict subsequent commands #2.
- Michael Paquier found that the initial patch also enabled LOCK after the first pipeline command but caused SAVEPOINT to fail with a fatal unexpected-state error #4.
- Anthonin replaced the extra flag check with explicit implicit-transaction-block state transitions, allowing existing transaction checks to handle pipelines and reject SAVEPOINT normally #5; Michael requested tests for LOCK, commands forbidden in transaction blocks, and SET LOCAL #6.
- To improve testing, Anthonin expanded the series with psql pipeline commands, regression tests, documentation, and a proposed query-buffer cleanup fix #7, then refined the documentation and added psql help entries #8.
- Michael rejected unconditional query-buffer cleanup because it would discard useful contents after failures such as an unsuccessful edit, recommended explicit reset in the affected test, and asked for backpatchable pgbench tests and a separate discussion of the psql feature #9.
- Anthonin dropped query-buffer cleanup, put the server fix first with pgbench coverage and protocol documentation, and retained psql pipeline support only as a reference attachment pending a separate thread #10.
- Michael approved the revised fix and proposed an additional SET LOCAL test after Sync #11, then committed the server-fix portion as d0eb4297cc with test naming, comment, ordering, and coverage edits; he initially backpatched the fix through PostgreSQL 13 while adapting test coverage to each branch #12.
- Anthonin agreed to rebase the psql feature and open its own thread #13; Jelte subsequently reported that the committed change broke a pg_duckdb test expecting the former pipeline-specific error message, although he did not consider that alone grounds for reverting #14.
- Robert Haas requested reverting the stable-branch changes because they altered defined behavior in a minor release #15, Andres Freund agreed #16, Tom Lane argued that wire-protocol changes needed a beta cycle #17, and Bruce Momjian also questioned the backpatch #18.
- Michael accepted the compatibility concerns and agreed to remove the fix from stable branches #19; 7668e85a40 implements that discussion-driven revert while explicitly retaining the change on HEAD.
- Anthonin clarified that he had no strong need for backpatching #20, Robert said the backpatch decision was not the author's responsibility #21, and Michael accepted responsibility in the final reply #22; the server fix remained on the development branch, stable branches were restored, and psql pipeline support was deferred to separate review.