pg_upgrade: force timeline 1 in the new cluster

Bruce Momjian <bruce@momjian.us>

Commit: df161c94e7e0db33557fb4f19b111729b7dc4fb9
Author: Bruce Momjian <bruce@momjian.us>
Date: 2015-05-16T04:40:18Z
Releases: 9.0.20
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 +2 −2