From 81de200561fd32107947a50be36b8798eedfdd37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Marqu=C3=A9s?= Date: Mon, 16 Jul 2018 18:56:41 -0300 Subject: [PATCH] Add information to the --help and docs of standby clone regarding the need to provide a conninfo line to the upstream from which we will be cloning from. --- doc/repmgr-standby-clone.sgml | 9 +++++++++ repmgr-action-standby.c | 1 + 2 files changed, 10 insertions(+) diff --git a/doc/repmgr-standby-clone.sgml b/doc/repmgr-standby-clone.sgml index 79741984..e4095c08 100644 --- a/doc/repmgr-standby-clone.sgml +++ b/doc/repmgr-standby-clone.sgml @@ -213,6 +213,15 @@ + + + + + Connection string of the upstream node to use for cloning. + + + + diff --git a/repmgr-action-standby.c b/repmgr-action-standby.c index bbd05c6d..424d8183 100644 --- a/repmgr-action-standby.c +++ b/repmgr-action-standby.c @@ -6513,6 +6513,7 @@ do_standby_help(void) puts(""); printf(_(" \"standby clone\" clones a standby from the primary or an upstream node.\n")); puts(""); + printf(_(" -d, --dbname=conninfo conninfo of the upstream node to use for cloning.\n")); printf(_(" -c, --fast-checkpoint force fast checkpoint\n")); printf(_(" --copy-external-config-files[={samepath|pgdata}]\n" \ " copy configuration files located outside the \n" \