Aug 2020

2 commits
Avoid non-constant format string argument to fprintf().
18 Aug 2020Heikki Linnakangasmaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13rc1+1 more
LLM analysis, 100% surewritten from the discussion, no matching patch

Tom Lane identified the nonconstant fprintf format-string problem in #4, and Heikki promised a separate fix in #5. The commit replaces those calls with fputc in pg_basebackup, pg_checksums and pg_rewind; no attached patch contains this fix.

Fix printing last progress report line in client programs.
17 Aug 2020Heikki Linnakangasmaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13rc1+1 more
LLM analysis, 100% suremodified before commitsignificant changesfrom patchset #10 of 1 reviewer saw the final version

The commit implements the newline fixes from #1, but adopts Tom Lane's proposal in #2 to move final-newline handling into progress_report(). It replaces caller-side checks with finished parameters, updates pg_rewind.h, and extends the change to pg_basebackup; Heikki confirms the revised implementation in #3.

  • Tom Lanesaw an earlier versionLLM analysis, 100% sureIn #2, Tom proposed moving newline handling into progress_report(), which Heikki adopted; the resulting structural changes followed that review.

Credits across 2 commits

Author
Heikki LinnakangasLLM1
Committer
Heikki Linnakangas2

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