Skip to content

Commit 1a16af8

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 e3a58c8 commit 1a16af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_basebackup/pg_basebackup.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ usage(void)
337337
printf(_(" -r, --max-rate=RATE maximum transfer rate to transfer data directory\n"
338338
" (in kB/s, or use suffix \"k\" or \"M\")\n"));
339339
printf(_(" -R, --write-recovery-conf\n"
340-
" write recovery.conf after backup\n"));
340+
" write recovery.conf for replication\n"));
341341
printf(_(" -S, --slot=SLOTNAME replication slot to use\n"));
342342
printf(_(" --no-slot prevent creation of temporary replication slot\n"));
343343
printf(_(" -T, --tablespace-mapping=OLDDIR=NEWDIR\n"

0 commit comments

Comments
 (0)