From d14dcb3d8b4a5069e0989c868c90867ac99b1f29 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 27 Oct 2015 18:24:02 +0900 Subject: [PATCH] Add FAQ item about repmgr permissions in pg_hba.conf --- FAQ.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/FAQ.md b/FAQ.md index 6c8d6a97..e2f1e1f9 100644 --- a/FAQ.md +++ b/FAQ.md @@ -106,6 +106,14 @@ General If you later decide to run `repmgrd`, you just need to add `shared_preload_libraries = 'repmgr_funcs'` and restart PostgreSQL. +- I've provided replication permission for the `repmgr` user in `pg_hba.conf` + but `repmgr`/`repmgrd` complains it can't connect to the server... Why? + + `repmgr`/`repmgrd` need to be able to connect to the repmgr database + with a normal connection to query metadata. The `replication` connection + permission is for PostgreSQL's streaming replication and doesn't + necessarily need to be the `repmgr` user. + `repmgrd` ---------