Jun 2022

4 commits
Tweak behavior of psql --single-transaction depending on ON_ERROR_STOP
15 Jun 2022Michael Paquiermaster15beta2REL_19_STABLE15beta2REL_18_STABLE15beta2REL_17_STABLE15beta2REL_16_STABLE15beta2REL_15_STABLE15beta2
LLM analysis, 100% suremodified before commitlight changesfrom patchset #162 of 2 reviewers saw the final version

The startup.c logic and psql-ref.sgml changes match #16 exactly. The commit adds another test for a failing final -c slash command without ON_ERROR_STOP and adjusts subsequent row counts, as explained in #20.

  • Kyotaro Horiguchisaw the final versionLLM analysis, 100% sureIn #17, he explicitly agreed with the ON_ERROR_STOP condition in #16 and supported adding its tests; only test changes followed.
  • Tom Lanesaw the final versionLLM analysis, 100% sureHe identified the earlier last-command-only rollback defect in #11, then endorsed the revised behavior and a HEAD commit in #18.
Doc: remove a04ccf6df from release notes, now that it's reverted.
10 Jun 2022Tom LaneREL_14_STABLE14.4
LLM analysis, 100% surewritten from the discussion, no matching patch

This removes the reverted psql fix's entry from doc/src/sgml/release-14.sgml, a file neither attachment changes. It follows the stable-branch revert agreed in #12, #13, and #14.

Revert "Fix psql's single transaction mode on client-side errors with -c/-f switches".
10 Jun 2022Tom LaneREL_14_STABLE14.4REL_13_STABLE13.8REL_12_STABLE12.12REL_11_STABLE11.17REL_10_STABLE10.22reverts 1 commit here
LLM analysis, 100% surewritten from the discussion, no matching patch0 of 2 reviewers saw the final version

The diff restores unconditional COMMIT and the previous documentation in stable branches; neither attachment proposes a revert. Tom Lane proposed withdrawing the backpatch before 14.4 in #12 and undertook it in #14.

  • Robert Haassaw an earlier versionLLM analysis, 96% sureHis compatibility objection to backpatching the landed version of #5 in #8 was explicitly adopted as a reason for reverting in #12; he did not review the later ON_ERROR_STOP refinement.
  • Michael Paquiersaw an earlier versionLLM analysis, 84% sureIn #13, he accepted reverting the backpatched version of #5 and requested another committer perform it before the release; this preceded the later refinement.
Fix psql's single transaction mode on client-side errors with -c/-f switches
6 Jun 2022Michael Paquiermaster15beta2REL_19_STABLE15beta2REL_18_STABLE15beta2REL_17_STABLE15beta2REL_16_STABLE15beta2REL_15_STABLE15beta2REL_14_STABLE14.4REL_13_STABLE13.8+3 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #5

The commit preserves the rollback decision from #5, adding parentheses and reflowing documentation. Michael Paquier expanded the single regression test into success/failure coverage for both -c and -f, added -X, and documented the backend-error testing limitation in #6.

Credits across 4 commits

Author
Michael Paquier1 LLM2
Kyotaro Horiguchi1
Reported by
Christoph Berg1
Committer
Michael Paquier2
Tom Lane2

N LLM means N of the credits come from LLM analysis, not from commit trailers.