Jun 2025

2 commits
psql: Forbid use of COPY and \copy while in a pipeline
13 Jun 2025Michael Paquiermaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
LLM analysis, 100% suremodified before commitlight changesfrom patchset #121 of 2 reviewers saw the final version

The commit preserves the guard, documentation, and regression-test removals from #12, while rewriting comments in src/bin/psql/common.c and adjusting TAP coverage to exercise COPY and \copy in both directions. Michael Paquier confirms these comment and test edits in #13.

  • Никита Калининsaw an earlier versionLLM analysis, 88% sureHis follow-up reproducer in #7 exposed a remaining assertion failure after the fix from #5, prompting the broader COPY prohibition.
  • Michael Paquiersaw the final versioncommittercommitted the patch
psql: Abort connection when using \syncpipeline after COPY TO/FROM
4 Jun 2025Michael Paquiermaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
LLM analysis, 100% suremodified before commitlight changesfrom patchset #51 of 1 reviewer saw the final version

The commit retains the exact executable guard from #5, revises its explanatory comment in src/bin/psql/common.c, and adds a COPY TO test alongside COPY FROM in src/bin/psql/t/001_basic.pl. Michael Paquier describes the added test in #6.

  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Anthonin Bonnefoy2
Reviewer
Michael Paquiercommitter2
Reported by
Никита Калинин2
Committer
Michael Paquier2