Make "pgdata" a mandatory configuration file setting

There are some circumstances, e.g. during switchover operations,
where repmgr may need to operate on a data directory while the
server isn't running, in which case there's no way to retrieve
that information.
This commit is contained in:
Ian Barwick
2017-08-02 23:04:24 +09:00
parent 83cda89362
commit c67aa15581
6 changed files with 54 additions and 62 deletions

View File

@@ -50,13 +50,25 @@ The `--csv` option now emits a third column indicating the recovery
status of the node.
Removed configuration file options
----------------------------------
Configuration file changes
--------------------------
- `upstream_node`: see note about `--upstream-node-id` above.
### Required settings
Following 4 parameters are mandatory:
- node_id
- node_name
- conninfo
- pgdata
### Renamed settings
Some settings have been renamed for clarity/consistency
node -> node_id
name -> node_name
Logging changes
---------------
- Following configuration file parameters have been renamed for consistency
with other parameters (and conform to the pattern used by PostgreSQL itself,
@@ -64,6 +76,13 @@ Logging changes
- `loglevel` has been renamed to `log_level`
- `logfile` has been renamed to `log_file`
- `logfacility` has been renamed to `log_facility`
### Removed settings
- `cluster` has been removed
- `upstream_node`: see note about `--upstream-node-id` above.
### Logging changes
- default value for `log_level` is `INFO` rather than `NOTICE`.
- new parameter `log_status_interval`