Jan 2019

1 commit
Fix psql's "\g target" meta-command to work with COPY TO STDOUT.
26 Jan 2019Tom Lanemaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+5 more
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #162 of 3 reviewers saw the final version

The commit preserves the COPY redirection and handleCopyOut changes from #16, but adds need_close tracking in src/bin/psql/common.c so cleanup closes only streams opened for \g. It also rewrites the documentation and clarifies the performance tip; Tom described the cleanup correction in #28 and confirmed pushing it in #30.

  • David G. Johnstonsaw an earlier versionLLM analysis, 91% sureAfter the prototype, David proposed making existing \g handle COPY output instead of adding a command in #4, an approach Daniel implemented in #6.
  • Fabien COELHOsaw the final versionLLM analysis, 94% sureFabien compiled and tested both versions, manually exercised the final submitted patch and examined its error semantics in #17, and received explicit review credit in 6d3ede5f1c; Tom subsequently corrected stream cleanup.
  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Daniel VeriteLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane1

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