Fix --dry-run mode of pg_rewind
Michael Paquier <michael@paquier.xyz>
Fix --dry-run mode of pg_rewind Even if --dry-run mode was specified, the control file was getting updated, preventing follow-up runs of pg_rewind to work properly on the target data folder. The origin of the problem came from the refactoring done by ce6afc6. Author: Alexey Kondratov Discussion: https://postgr.es/m/7ca88204-3e0b-2f4c-c8af-acadc4b266e5@postgrespro.ru Backpatch-through: 12
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_rewind/pg_rewind.c | modified | +2 −1 |
Discussion
- Two pg_rewind patches (auto generate recovery conf and ensure clean shutdown) 46 messages · 2019-03-19 → 2019-10-08