From e5ef549aa76d3714d97424df33e1553bbe6f687c Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 6 Jun 2019 11:29:35 +0900 Subject: [PATCH] doc: update release notes --- HISTORY | 2 ++ doc/appendix-release-notes.xml | 8 ++++++++ doc/repmgr-standby-clone.xml | 6 +++++- repmgr-action-standby.c | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index c1af9227..9fdfa0e4 100644 --- a/HISTORY +++ b/HISTORY @@ -6,6 +6,8 @@ an existing directory is being overwritten (Ian) repmgr: improve "--dry-run" behaviour for "standby promote" and "standby switchover" (Ian) + repmgr: when running "standby clone" with the "--upstream-conninfo" option + ensure that "application_name" is set correctly in "primary_conninfo" (Ian) repmgr: ensure "--dry-run" together with --force when running "standby clone" in barman mode does not modify an existing data directory (Ian) repmgr: improve "--dry-run" output when running "standby clone" in diff --git a/doc/appendix-release-notes.xml b/doc/appendix-release-notes.xml index 700adba3..872842c0 100644 --- a/doc/appendix-release-notes.xml +++ b/doc/appendix-release-notes.xml @@ -221,6 +221,14 @@ + + + &repmgr;: when executing repmgr standby clone + with the , ensure that application_name + is set correctly in primary_conninfo. + + + &repmgr;: when executing repmgr standby switchover, diff --git a/doc/repmgr-standby-clone.xml b/doc/repmgr-standby-clone.xml index 36e00473..dcdfe163 100644 --- a/doc/repmgr-standby-clone.xml +++ b/doc/repmgr-standby-clone.xml @@ -326,9 +326,13 @@ - primary_conninfo value to write in recovery.conf + primary_conninfo value to write in recovery.conf when the intended upstream server does not yet exist. + + Note that &repmgr; may modify the provided value, in particular to set the + correct application_name. + diff --git a/repmgr-action-standby.c b/repmgr-action-standby.c index f59d1172..a29a0d94 100644 --- a/repmgr-action-standby.c +++ b/repmgr-action-standby.c @@ -2991,7 +2991,7 @@ do_standby_follow_internal(PGconn *primary_conn, PGconn *follow_target_conn, t_n } } - /* Initialise connection parameters to write as `primary_conninfo` */ + /* Initialise connection parameters to write as "primary_conninfo" */ initialize_conninfo_params(&recovery_conninfo, false); /* We ignore any application_name set in the primary's conninfo */