Sep - Oct 2019

8 commits
Improve test coverage of pg_rewind
8 Oct 2019Michael Paquiermaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #44

Matches the 001_basic.pl and 006_options.pl tests in #44, with wording, argument-layout, and test-label edits plus removal of the duplicated comment identified in #45. The commit credits both Michael Paquier and Alexey Kondratov as authors, so Alexey's subsequent feedback is not a suggested review of his own commit.

Improve handling and coverage of --no-ensure-shutdown in pg_rewind
7 Oct 2019Michael Paquiermaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surelanded as postedfrom patchset #421 of 1 reviewer saw the final version

The complete diff matches #42, including -F, immediate shutdown in RewindTest.pm, documentation, and the added same-timeline comment. The broader replacement tests in #43 were not included.

  • Alexey Kondratovsaw the final versiontrailerIn #43, Alexey reports checking the patch, identifies the same-timeline comment issue, and tests an expanded version incorporating its crash-recovery changes.
Fix issues in pg_rewind with --no-ensure-shutdown/--write-recovery-conf
4 Oct 2019Michael Paquiermaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #401 of 1 reviewer saw the final version

Takes the shutdown-option dispatch correction and both recovery-configuration dry-run guards from #40, omitting its control-file wrapper and adding only blank-line cleanup. Although Michael posted that revision, the commit credits Alexey, whose original fixes appeared in #39.

  • Michael Paquiersaw the final versioncommittercommitted the patch
Fix --dry-run mode of pg_rewind
4 Oct 2019Michael Paquiermaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1+1 more
LLM analysis, 97% surepart of a posted patchsetlight changesfrom patchset #391 of 1 reviewer saw the final version

Retains only the direct !dry_run guard around update_controlfile from #39, modulo a blank line. The replacement wrapper in #40 was abandoned after the progress-accounting objection in #41, as explained in #42.

  • Michael Paquiersaw the final versioncommittercommitted the patch
pg_rewind: test new --write-recovery-conf functionality
30 Sep 2019Alvaro Herreramaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surelanded as postedfrom patchset #352 of 2 reviewers saw the final version

All changes in the five TAP-test files match #35 after whitespace normalization, including safe_psql, standby.signal verification, and reliance on generated remote recovery settings.

  • Paul Guosaw the final versiontrailerPaul's concrete test review in #34 removes manual remote recovery configuration, which #35 incorporates with only light test changes.
  • Alvaro Herrerasaw the final versioncommittercommitted the patch
pg_rewind: Allow writing recovery configuration
30 Sep 2019Alvaro Herreramaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #341 of 3 reviewers saw the final version

Implements the complete recovery-configuration patch from #34, with clearer help and documentation, revised error wording, reordered declarations/includes, and relocation of disconnect_atexit; the operational logic is retained.

  • Alexey Kondratovsaw an earlier versiontrailerAlexey identifies silently ignored -R with a local source and missing tests in #31, after which #34 adds a new argument-validation error path.
  • Michaël Paquiersaw an earlier versiontrailerMichael reviews the original duplicated recovery-writing code in #2 and gives build guidance in #13, before substantial shared-code restructuring and later option validation.
  • Álvaro Herrerasaw the final versiontrailerÁlvaro reviews modularity, option naming, and validation in #17, #24, #29, and #32, then commits and reports testing the final patch in #36.
Have pg_rewind run crash recovery before rewinding
27 Sep 2019Alvaro Herreramaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #301 of 1 reviewer saw the final version

Commits the crash-recovery component of #30, leaving recovery-configuration generation pending. Changes remove the short option, alter long-option dispatch, quote DEVNULL, and revise logging/error handling, as described in #33.

  • Álvaro Herrerasaw the final versiontrailerÁlvaro presses for default crash recovery, reviews option behavior and naming, and tests the command-failure path before committing, as recorded in #8, #17, #22, #29, and #33.
Split out recovery confing-writing code from pg_basebackup
25 Sep 2019Alvaro Herreramaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #211 of 2 reviewers saw the final version

Takes the recovery-code extraction from #21 while dropping its pg_rewind-specific changes, as confirmed in #24. Besides naming and layout edits, recovery_gen.c gains non-null assertions, reordered allocation checks, and a rewritten version predicate that changes the fopen mode mapping.

  • Michaël Paquiersaw an earlier versiontrailerMichael requests shared version-aware routines in #2 and advises on Windows integration in #13, before the substantial fe_utils and explicit-parameter redesign.
  • Alvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 8 commits

Author
Alexey Kondratov4
Paul Guo2 LLM3
Michael Paquier2
Ashwin Agrawal1
Jimmy Yih1
Reviewer
Alvaro Herreracommitter4
Michael Paquiercommitter4
Alexey Kondratov2
Paul Guo1
Committer
Alvaro Herrera4
Michael Paquier4

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