Add two more parameters to pgxc_ctl.conf
authorPavan Deolasee <pavan.deolasee@gmail.com>
Tue, 23 Oct 2018 05:18:39 +0000 (10:48 +0530)
committerPavan Deolasee <pavan.deolasee@gmail.com>
Tue, 23 Oct 2018 05:18:39 +0000 (10:48 +0530)
commit9218f626def94517812cab76e425a76b91a76651
treeb4dc95fb0c85faed714ad9e5f9e9c43ee31c08ee
parentf9b1d3ddb5d6a4c68f4d808856e61ac692b9d672
Add two more parameters to pgxc_ctl.conf

pgxc_ctl sets up postgresql.conf and recovery.conf while adding and removing a
coordinator/datanode standby. This interfers with user defined settings if the
user has chosen different mechanism for backup/recovery, such as barman. So
this band-aid fix avoids overwriting the user defined values while
adding/removing standbys. We assume that if these parameters are set to 'y'
(the default is 'n' which means the default old behaviour), then the user would
manually setup things correctly.
doc/src/sgml/pgxc_ctl-ref.sgml
src/bin/pgxc_ctl/coord_cmd.c
src/bin/pgxc_ctl/datanode_cmd.c
src/bin/pgxc_ctl/pgxc_ctl_bash_2
src/bin/pgxc_ctl/pgxc_ctl_conf_part_empty
src/bin/pgxc_ctl/pgxc_ctl_conf_part_full
src/bin/pgxc_ctl/pgxc_ctl_conf_part_minimal
src/bin/pgxc_ctl/varnames.h