Apr 2025

5 commits
psql: Fix assertion failures with pipeline mode
24 Apr 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #540 of 1 reviewer saw the final version

Matches the fatal-result branch and three TAP scenarios in #54, with comment edits and only one retained wait_for_log() check, as explained in #55. The commit credits Anthonin as author and Michael as co-author.

  • Alexander Kozhemyakinsaw an earlier versionLLM analysis, 83% sureReported a reproducible assertion failure in the landed semicolon-capable pipeline implementation in #46, before the fatal-result handling was developed.
psql: Rework TAP routine psql_fails_like() to define WAL sender context
23 Apr 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #53

Extracts the psql_fails_like() replication parameter and START_REPLICATION caller adjustment present in #53, originally supplied by Michael in #51. Only argument wrapping differs, and #54 confirms the separate landing.

psql: Split extended query protocol meta-commands in --help=commands
19 Apr 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Moves eleven meta-commands into a final Extended Query Protocol section in src/bin/psql/help.c, implementing Noah's proposal in #44 and Michael's agreement in #48; no attachment contains this change.

  • Noah Mischsaw the final versionLLM analysis, 98% sureProposed the specific help-section split in #44 and agreed with the response in #49, with no attached patchset for this change.
psql: Improve descriptions of \\flush[request] in --help
19 Apr 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The two help.c string replacements implement Michael's wording in #48, following Noah's terminology concern in #44 and approval in #49.

  • Noah Mischsaw the final versionLLM analysis, 100% sureRaised the wording problem in #44 and accepted the replacement descriptions in #49.
psql: Fix incorrect status code returned by \getresults
19 Apr 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Changes exec_command_getresults() to return PSQL_CMD_ERROR for a negative result count, exactly the correction requested in #44 and acknowledged in #48; no attached patch implements it.

  • Noah Mischsaw the final versionLLM analysis, 100% sureIdentified the incorrect return status and its ON_ERROR_STOP consequence, specifying the adopted replacement in #44.

Feb - Mar 2025

7 commits
psql: Allow queries terminated by semicolons while in pipeline mode
19 Mar 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #372 of 2 reviewers saw the final version

Preserves the command.c and common.c logic from #37, including PQsendQueryParams() for semicolon-terminated queries and the \watch restriction. Michael reorganized regression tests and rewrote documentation, as described in #42.

  • Daniel Veritesaw the final versionLLM analysis, 96% sureProposed automatic extended-protocol use in #25, examined the implementation in #29, and demonstrated parameter binding with semicolon-terminated queries in #39, followed only by test and documentation changes.
  • Michael Paquiersaw the final versioncommittercommitted the patch
psql: Add \sendpipeline to send query buffers while in a pipeline
18 Mar 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #342 of 2 reviewers saw the final version

Lands the \sendpipeline component of #34, leaving semicolon support pending. Changes are alphabetical code/completion ordering and test corrections, including restoring the accidentally lost count result noted in #36.

  • Daniel Veritesaw the final versionLLM analysis, 95% sureReported ignored \g formatting options in #22, supplied the separate-command idea relayed in #23, and discussed the resulting \sendpipeline design in #25, after which that component changed only lightly.
  • Michael Paquiersaw the final versioncommittercommitted the patch
psql: Fix memory leak with \gx used within a pipeline
4 Mar 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #241 of 1 reviewer saw the final version

Takes only the leak-fix component of #24: the identical free(fname) insertion in exec_command_g(). The accompanying \sendpipeline change remained pending, as confirmed by #27.

  • Michael Paquiersaw the final versioncommittercommitted the patch
psql: Add pipeline status to prompt and some state variables
25 Feb 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #191 of 3 reviewers saw the final version

Takes the prompt/variables component forwarded in #19; its four implementation/documentation files match, while the commit adds \echo regression checks. Both the attachment header and commit credit Anthonin, and #20 explains the added tests.

  • Jelte Fennema-Niosaw an earlier versionLLM analysis, 99% sureTested the counter-bearing prompt and requested clearer command-count semantics and documentation in #11, before #16 replaced that display with separate variables.
  • Kirill Reshkesaw an earlier versionLLM analysis, 87% sureReported misleading transaction-prompt behavior in #3, prompting the initial prompt change in #8 before the later %P and variable redesign.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Add more tests for utility commands in pipelines
23 Feb 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #191 of 1 reviewer saw the final version

Exactly matches the utility-test component of #19 in src/test/regress/sql/psql_pipeline.sql and its expected output. Although Michael's forwarded attachment names himself, the tests originate in Anthonin's submissions and the commit explicitly credits Anthonin.

  • Michael Paquiersaw the final versioncommittercommitted the patch
psql: Add support for pipelines
21 Feb 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #181 of 3 reviewers saw the final version

Lands the main pipeline implementation from #18, with documentation, comment and test edits, while deferring utility-command tests and prompt support. Michael explicitly describes this split in #19.

  • Jelte Fennema-Niosaw an earlier versiontrailerTested the initial patch in #4 and the later version in #11, proposing flush controls and selective result retrieval before subsequent counter, cancellation and conditional-branch changes.
  • Kirill Reshkesaw an earlier versiontrailerQuestioned synchronization naming in #2 and reported prompt behavior in #3, before substantial result-processing extensions.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Add braces for if block with large comment in psql's common.c
21 Feb 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 90% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Adds braces around the existing COPY-result branch in common.c during pipeline integration; those exact additions are absent from the supplied attachments, including #18. The commit identifies this as an extraction from Anthonin's larger patch, consistent with the brace-style review in #15.

  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 12 commits

Author
Anthonin Bonnefoy8
Michael PaquierLLM1
Reviewer
Michael Paquiercommitter7
Jelte Fennema-Nio1
Kirill Reshke1
Reported by
Noah Misch2
a.kozhemyakin1
Co author
Michael Paquier1
Committer
Michael Paquier12

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