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

@@ -10,7 +10,7 @@
# Required configuration items
# =============================================================================
#
# repmgr and repmgrd require the following items to be configured.
# repmgr and repmgrd require the following items to be explicitly configured.
#node_id= # A unique integer greater than zero
@@ -35,17 +35,12 @@
# connection attempt is abandoned; for details see:
# https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-CONNECT-CONNECT-TIMEOUT
#pgdata # The node's data directory
# =============================================================================
# Optional configuration items
# =============================================================================
#------------------------------------------------------------------------------
# General settings
#------------------------------------------------------------------------------
#pgdata # The node's data directory; usually only required
# if the repmgr user is not a superuser
#------------------------------------------------------------------------------
# Replication settings