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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 010a1b5614cc6a26b35ea04ba85271baa0e929ac
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2016-10-07T11:35:45Z
Releases: 9.5.5
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