From 8cd2c6fd05225535e985175aa3e313dbe3858339 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 4 Apr 2016 14:57:20 +0900 Subject: [PATCH] Add comment about wal_level setting interpretation --- repmgr.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/repmgr.c b/repmgr.c index 74a70334..e3017bce 100644 --- a/repmgr.c +++ b/repmgr.c @@ -4880,6 +4880,10 @@ check_upstream_config(PGconn *conn, int server_version_num, bool exit_on_error) NULL, }; + /* + * Note that in 9.6+, "hot_standby" and "archive" are accepted as aliases + * for "replica", but current_setting() will of course always return "replica" + */ char *levels_96plus[] = { "replica", "logical",