Skip to content

Commit 595c412

Browse files
committed
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.
1 parent 156fbdf commit 595c412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ usage(void)
237237
printf(_(" -r, --max-rate=RATE maximum transfer rate to transfer data directory\n"
238238
" (in kB/s, or use suffix \"k\" or \"M\")\n"));
239239
printf(_(" -R, --write-recovery-conf\n"
240-
" write recovery.conf after backup\n"));
240+
" write recovery.conf for replication\n"));
241241
printf(_(" -T, --tablespace-mapping=OLDDIR=NEWDIR\n"
242242
" relocate tablespace in OLDDIR to NEWDIR\n"));
243243
printf(_(" -x, --xlog include required WAL files in backup (fetch mode)\n"));

0 commit comments

Comments
 (0)