]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix help message for pg_basebackup -R
authorMagnus Hagander <magnus@hagander.net>
Sat, 18 Feb 2017 12:45:14 +0000 (13:45 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sat, 18 Feb 2017 12:46:03 +0000 (13:46 +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 80d9dd8c5f04e1e16ff882d0c552ac78d2897539..a5bc3225337c8551fbc87aef91d7da972eab588f 100644 (file)
@@ -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(_("  -S, --slot=SLOTNAME    replication slot to use\n"));
        printf(_("  -T, --tablespace-mapping=OLDDIR=NEWDIR\n"
          "                         relocate tablespace in OLDDIR to NEWDIR\n"));