]> granicus.if.org Git - postgresql/commit
Don't allow both --source-server and --source-target args to pg_rewind.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 7 Oct 2016 11:35:17 +0000 (14:35 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 7 Oct 2016 11:35:41 +0000 (14:35 +0300)
commit2933ed0362ae5fbc9e0c28035286318b4d299492
tree983bd470c5611e6b78657d582906cfcf33874e92
parent4d3ecbfee9dbe34fe20991a5a402b1f949814928
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>
src/bin/pg_rewind/pg_rewind.c