README: Add note about 'repmgr_funcs'

This commit is contained in:
Ian Barwick
2016-02-25 16:36:19 +09:00
parent d400d7f9ac
commit 4cafd443e1

View File

@@ -876,6 +876,10 @@ be set in `repmgr.conf`:
(See `repmgr.conf.sample` for further `repmgrd`-specific settings).
Additionally, `postgresql.conf` must contain the following line:
shared_preload_libraries = 'repmgr_funcs'
When `failover` is set to `automatic`, upon detecting failure of the current
master, `repmgrd` will execute one of `promote_command` or `follow_command`,
depending on whether the current server is becoming the new master or