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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't allow both --source-server and --source-target args to pg_
Date: 2016-10-07 11:39:11
Message-ID: E1bsTUd-0004y3-4E@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)GD12247(at)nighthawk(dot)caipicrew(dot)dd-dns(dot)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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-10-07 13:51:35 pgsql: Fix pg_dump to work against pre-9.0 servers again.
Previous Message Heikki Linnakangas 2016-10-07 09:54:55 pgsql: Clear OpenSSL error queue after failed X509_STORE_load_locations