Don't allow both --source-server and --source-target args to pg_rewind.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 2933ed0362ae5fbc9e0c28035286318b4d299492
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2016-10-07T11:35:41Z
Releases: 9.6.1
Don't allow both --source-server and --source-target args to pg_rewind.

They are supposed to be mutually exclusive, but there was no check for
that.

Michael Banck

Discussion: <20161007103414.GD12247@nighthawk.caipicrew.dd-dns.de>

Files

PathChange+/−
src/bin/pg_rewind/pg_rewind.c modified +7 −0