Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Fix help message for pg_basebackup -R
authorMagnus Hagander <magnus@hagander.net>
Sat, 18 Feb 2017 12:48:15 +0000 (13:48 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sat, 18 Feb 2017 12:48:15 +0000 (13:48 +0100)
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.

src/bin/pg_basebackup/pg_basebackup.c

index 94686fdc8adcb79f4ba4874e9db314b8f8a207a1..5c9bf68ffbf855827b61fef7da338f47f1308ad1 100644 (file)
@@ -136,7 +136,7 @@ usage(void)
    printf(_("  -D, --pgdata=DIRECTORY receive base backup into directory\n"));
    printf(_("  -F, --format=p|t       output format (plain (default), tar)\n"));
    printf(_("  -R, --write-recovery-conf\n"
-            "                         write recovery.conf after backup\n"));
+            "                         write recovery.conf for replication\n"));
    printf(_("  -x, --xlog             include required WAL files in backup (fetch mode)\n"));
    printf(_("  -X, --xlog-method=fetch|stream\n"
             "                         include required WAL files with specified method\n"));