pgsql: Don't allow both --source-server and --source-target args to pg_ - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Don't allow both --source-server and --source-target args to pg_
Date
Msg-id E1bsTUd-0004y3-4E@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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>

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2933ed0362ae5fbc9e0c28035286318b4d299492

Modified Files
--------------
src/bin/pg_rewind/pg_rewind.c | 7 +++++++
1 file changed, 7 insertions(+)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Don't allow both --source-server and --source-target args to pg_
Next
From: Tom Lane
Date:
Subject: pgsql: Fix pg_dump to work against pre-9.0 servers again.