Add notes about setting pg_bindir for Debian/Ubuntu-based distributions.

repmgr doesn't know about pg_ctlcluster.

Per GitHub query #196.
This commit is contained in:
Ian Barwick
2016-07-15 15:59:48 +09:00
parent 94befc3230
commit db32565b36
2 changed files with 13 additions and 0 deletions

View File

@@ -375,6 +375,16 @@ to include this schema name, e.g.
ALTER USER repmgr SET search_path TO repmgr_test, "$user", public;
* * *
> *TIP*: for Debian-based distributions we recommend explictly setting
> `pg_bindir` to the directory where `pg_ctl` and other binaries not in
> the standard path are located. For PostgreSQL 9.5 this would be
> `/usr/lib/postgresql/9.5/bin/`.
* * *
### Initialise the master server
To enable `repmgr` to support a replication cluster, the master node must

View File

@@ -100,6 +100,9 @@
# path to PostgreSQL binary directory (location of pg_ctl, pg_basebackup etc.)
# (if not provided, defaults to system $PATH)
#pg_bindir=/usr/bin/
#
# Debian/Ubuntu users: you will probably need to set this to the directory
# where `pg_ctl` is located, e.g. /usr/lib/postgresql/9.5/bin/
# service control commands
#