aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2017-02-18 13:45:14 +0100
committerMagnus Hagander <magnus@hagander.net>2017-02-18 13:45:52 +0100
commit1a16af8b35216bf8967007cabdb7f84206bd067f (patch)
treedaa0d2f5ca0556ad540c8ec86cdebe5889c1036f
parente3a58c8835a2cd428b8534dd8df30a7cb96c976b (diff)
downloadpostgresql-1a16af8b35216bf8967007cabdb7f84206bd067f.tar.gz
postgresql-1a16af8b35216bf8967007cabdb7f84206bd067f.zip
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.
-rw-r--r--src/bin/pg_basebackup/pg_basebackup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index 0c82bc929ef..9020fb14d39 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -337,7 +337,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(_(" --no-slot prevent creation of temporary replication slot\n"));
printf(_(" -T, --tablespace-mapping=OLDDIR=NEWDIR\n"