From: Magnus Hagander Date: Sat, 18 Feb 2017 12:47:06 +0000 (+0100) Subject: Fix help message for pg_basebackup -R X-Git-Tag: REL9_5_7~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a83e7405a169d3b9ddef08e273ed1b1769fe3491;p=postgresql Fix help message for pg_basebackup -R The recovery.conf file that's generated is specifically for replication, and not needed (or wanted) for regular backup restore, so indicate that in the message. --- diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c index fd93a3bc09..2748f58106 100644 --- a/src/bin/pg_basebackup/pg_basebackup.c +++ b/src/bin/pg_basebackup/pg_basebackup.c @@ -240,7 +240,7 @@ usage(void) printf(_(" -r, --max-rate=RATE maximum transfer rate to transfer data directory\n" " (in kB/s, or use suffix \"k\" or \"M\")\n")); printf(_(" -R, --write-recovery-conf\n" - " write recovery.conf after backup\n")); + " write recovery.conf for replication\n")); printf(_(" -T, --tablespace-mapping=OLDDIR=NEWDIR\n" " relocate tablespace in OLDDIR to NEWDIR\n")); printf(_(" -x, --xlog include required WAL files in backup (fetch mode)\n"));