pg_upgrade: force timeline 1 in the new cluster

Bruce Momjian <bruce@momjian.us>

Commit: affc04d1656010cff7b20573c53a4d31dfabaa5f
Author: Bruce Momjian <bruce@momjian.us>
Date: 2015-05-16T04:40:18Z
Releases: 9.2.11
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+/−
contrib/pg_upgrade/pg_upgrade.c modified +1 −2