]> 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:17 +0000 (14:35 +0300)
commit0d4d7d61850f4f4bc5f6fd0b7a9adb70232aed61
tree192e6ed52aca73d34fa13ad169bc512f44dd8358
parent275bf98601b230e530003ef20193d095b9309c24
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