pg_upgrade: force timeline 1 in the new cluster

Bruce Momjian <bruce@momjian.us>

Commit: 4c5e060049a3714dd27b7f4732fe922090edea69
Author: Bruce Momjian <bruce@momjian.us>
Date: 2015-05-16T04:40:18Z
Releases: 9.5.0
pg_upgrade:  force timeline 1 in the new cluster

Previously, this prevented promoted standby servers from being upgraded
because of a missing WAL history file.  (Timeline 1 doesn't need a
history file, and we don't copy WAL files anyway.)

Report by Christian Echerer(?), Alexey Klyukin

Backpatch through 9.0

Files

PathChange+/−
src/bin/pg_upgrade/pg_upgrade.c modified +3 −2