bdr_init_copy enhancements
authorPetr Jelinek <petr@2ndquadrant.com>
Sun, 28 Jun 2015 16:07:35 +0000 (18:07 +0200)
committerPetr Jelinek <petr@2ndquadrant.com>
Sun, 28 Jun 2015 16:08:37 +0000 (18:08 +0200)
commitd7fd1cb021e18f1e4747c97c51981382ac8b5e52
treef7ca57141ac2fb6dbbdd2131084d051957cc7b3f
parent2e6c12c07046043519c94de4ce64d03c0f511f7f
bdr_init_copy enhancements

Add --replication-sets command line parameter.
Specifies which replication sets to use for the new node. If not
specified the bdr_init_copy will check if all nodes in the bdr cluster
use same replication sets and use that one for the new node
automatically (instead of default). If the existing nodes don't all use
same replication sets it will throw error unless --replication-sets was
specified.

If the local data directory contains PostgreSQL data folder, check if
the system identifier is same as the system identifier of the remote
node. (GH #91)

When the remote node has multiple BDR activated databases make new
connections to all of them from the new local node. (GH #88)

Correctly set node_local_dsn for the new node.

Document -v option for increasing verbosity in --help output.
bdr_init_copy.c