pg_rewind: Don't error if the two clusters are already on the same timeline

Peter Eisentraut <peter_e@gmx.net>

Commit: 6b34e5563849edc12896bf5754e8fe7b88012697
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2015-12-11T23:32:03Z
Releases: 9.6.0
pg_rewind: Don't error if the two clusters are already on the same timeline

This previously resulted in an error and a nonzero exit status, but
after discussion this should rather be a noop with a zero exit status.

Files

PathChange+/−
src/bin/pg_rewind/pg_rewind.c modified +32 −27
src/bin/pg_rewind/t/005_same_timeline.pl added +14 −0