Ian Barwick
36b3782009
Store the replication user in repmgr.nodes
...
When creating recovery.conf outside of "repmgr standby clone",
there was no way of knowing if a replication user had been
explicitly provided with --replication-user, meaning the value
of "primary_conninfo" would be set to the "conninfo" field of the
node's upstream node record.
We'll add an extra column to store the replication user for each
node so it can be referenced at any time.
2017-06-14 23:27:26 +09:00
Ian Barwick
bcb17dd71a
More functionality for "standby clone"
2017-04-29 22:41:43 +09:00
Ian Barwick
dc347f1484
Additional "standby clone" code
...
We'll break up the unwieldy "do_standby_clone()" function into discrete
unit for easier maintenance.
2017-04-28 22:00:26 +09:00
Ian Barwick
2ed5393209
Suppress configuration file warnings if --terse is set
2017-04-26 10:50:43 +09:00
Ian Barwick
226ba99804
Refactor command line option checks
2017-04-25 22:26:12 +09:00
Ian Barwick
073afbce54
Improve configuration file parsing and error detection
...
- enable provision of various boolean values
- improve enforcement of minimum values for integers
2017-04-21 13:21:18 +09:00
Ian Barwick
0b0a0c69fc
Implement config file parsing
2017-04-21 12:11:00 +09:00
Ian Barwick
7d0e061088
Various syntax and include fixes
2017-04-20 17:04:54 +09:00
Ian Barwick
f9dfcb20b4
Initial config file structure definition and initialisation
2017-04-20 16:42:56 +09:00
Ian Barwick
0fb4876256
Initial config file infrastructure
...
Also unify command line option structure/parsing so everything's
in the same order in the code.
2017-04-20 09:41:50 +09:00
Ian Barwick
8968cfe735
Add logging and repmgr command sanity checks
2017-04-20 00:32:04 +09:00
Ian Barwick
1631917715
Initial table definitions and coding for repmgr client utility
2017-04-19 22:41:20 +09:00