File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -203,19 +203,19 @@ usage(void)
203
203
printf ("%s removes older WAL files from PostgreSQL archives.\n\n" , progname );
204
204
printf ("Usage:\n" );
205
205
printf (" %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n" , progname );
206
+ printf ("\nOptions:\n" );
207
+ printf (" -d generates debug output (verbose mode)\n" );
208
+ printf (" --help show this help, then exit\n" );
209
+ printf (" --version output version information, then exit\n" );
206
210
printf ("\n"
207
- "for use as an archive_cleanup_command in the recovery.conf when standby_mode = on:\n"
211
+ "For use as archive_cleanup_command in recovery.conf when standby_mode = on:\n"
208
212
" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n"
209
213
"e.g.\n"
210
214
" archive_cleanup_command = 'pg_archivecleanup /mnt/server/archiverdir %%r'\n" );
211
215
printf ("\n"
212
- "or for use as a standalone archive cleaner:\n"
216
+ "Or for use as a standalone archive cleaner:\n"
213
217
"e.g.\n"
214
218
" pg_archivecleanup /mnt/server/archiverdir 000000010000000000000010.00000020.backup\n" );
215
- printf ("\nOptions:\n" );
216
- printf (" -d generates debug output (verbose mode)\n" );
217
- printf (" --help show this help, then exit\n" );
218
- printf (" --version output version information, then exit\n" );
219
219
printf ("\nReport bugs to <pgsql-bugs@postgresql.org>.\n" );
220
220
}
221
221
Original file line number Diff line number Diff line change @@ -515,11 +515,6 @@ usage(void)
515
515
printf ("%s allows PostgreSQL warm standby servers to be configured.\n\n" , progname );
516
516
printf ("Usage:\n" );
517
517
printf (" %s [OPTION]... ARCHIVELOCATION NEXTWALFILE XLOGFILEPATH [RESTARTWALFILE]\n" , progname );
518
- printf ("\n"
519
- "with main intended use as a restore_command in the recovery.conf:\n"
520
- " restore_command = 'pg_standby [OPTION]... ARCHIVELOCATION %%f %%p %%r'\n"
521
- "e.g.\n"
522
- " restore_command = 'pg_standby -l /mnt/server/archiverdir %%f %%p %%r'\n" );
523
518
printf ("\nOptions:\n" );
524
519
printf (" -c copies file from archive (default)\n" );
525
520
printf (" -d generate lots of debugging output (testing only)\n" );
@@ -534,6 +529,11 @@ usage(void)
534
529
printf (" -w MAXWAITTIME max seconds to wait for a file (0=no limit) (default=0)\n" );
535
530
printf (" --help show this help, then exit\n" );
536
531
printf (" --version output version information, then exit\n" );
532
+ printf ("\n"
533
+ "Main intended use as restore_command in recovery.conf:\n"
534
+ " restore_command = 'pg_standby [OPTION]... ARCHIVELOCATION %%f %%p %%r'\n"
535
+ "e.g.\n"
536
+ " restore_command = 'pg_standby /mnt/server/archiverdir %%f %%p %%r'\n" );
537
537
printf ("\nReport bugs to <pgsql-bugs@postgresql.org>.\n" );
538
538
}
539
539
You can’t perform that action at this time.
0 commit comments