Fix pg_hba.conf example

This commit is contained in:
Ian Barwick
2014-07-16 13:51:05 +09:00
parent 47b7c4ce06
commit 253992c5ec

View File

@@ -140,14 +140,14 @@ Master setup
- configure postgresql.conf for replication (see above) - configure postgresql.conf for replication (see above)
- update pg_hba.conf: - update pg_hba.conf, e.g.:
``` ```
host repmgr_usr repmgr_db 192.168.1.0/24 trust host repmgr_db repmgr_usr 192.168.1.0/24 trust
host replication all 192.168.1.0/24 trust host replication repuser 192.168.1.0/24 trust
``` ```
Restart the PostgreSQL server after making these changes. Restart the PostgreSQL server after making these changes.
2. Create the repmgr configuration file: 2. Create the repmgr configuration file:
$ cat $HOME/repmgr/repmgr.conf $ cat $HOME/repmgr/repmgr.conf