Jul 2024

1 commit
Use CREATE DATABASE ... STRATEGY = FILE_COPY in pg_upgrade.
8 Jul 2024Nathan Bossartmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #152 of 4 reviewers saw the final version

The commit matches all non-comment added and removed lines in #15 across src/backend/commands/dbcommands.c, src/bin/pg_dump/pg_dump.c, and src/bin/pg_upgrade/pg_upgrade.c. Only explanatory comments and the commit message were revised; the commit credits Matthias van de Meent as co-author 64f34eb2e2.

  • Ranier Vilelasaw an earlier versiontrailerRanier questioned whether FILE_COPY should also apply outside binary upgrades #2, reviewing #1 before the substantive checkpoint-handling changes.
  • Dilip Kumarsaw an earlier versiontrailerDilip reviewed the initial strategy change and supported omitting the second checkpoint during binary upgrades #6 #8 #10, before checkpoint suppression and the explicit preparatory checkpoint were implemented.
  • Robert Haassaw the final versiontrailerRobert quoted the final patch's checkpoint explanation and questioned its consequences for crashes during pg_upgrade #17, after which only light edits preceded commitment.
  • Michael Paquiersaw the final versiontrailerMichael assessed the final patch's crash-safety concern, explaining that restarting an upgrade on the same target cluster was already unsafe and could encounter OID reuse #20.

Credits across 1 commit

Reviewer
Dilip Kumar1
Michael Paquier1
Ranier Vilela1
Robert Haas1
Co author
Matthias van de Meent1
Committer
Nathan Bossart1