diff options
author | Bruce Momjian <bruce@momjian.us> | 2017-01-10 22:38:14 -0500 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2017-01-10 22:38:14 -0500 |
commit | 73f8d7331343cefaaa97a0039421158fc8462c81 (patch) | |
tree | ab40775817113252baa19ec88d8ad59fa7129e96 /src | |
parent | abfd0095c1e1a2e3fad2696516b64871895334ec (diff) | |
download | postgresql-73f8d7331343cefaaa97a0039421158fc8462c81.tar.gz postgresql-73f8d7331343cefaaa97a0039421158fc8462c81.zip |
pg_xlogdump: document --path behavior
The previous --path documentation and --help output were wrong in both
its meaning and the defaults.
Reviewed-by: Michael Paquier
Backpatch-through: 9.6
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_xlogdump/pg_xlogdump.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/pg_xlogdump/pg_xlogdump.c b/src/bin/pg_xlogdump/pg_xlogdump.c index 0ad441e22eb..590d2ad587e 100644 --- a/src/bin/pg_xlogdump/pg_xlogdump.c +++ b/src/bin/pg_xlogdump/pg_xlogdump.c @@ -679,8 +679,9 @@ usage(void) printf(_(" -e, --end=RECPTR stop reading at log position RECPTR\n")); printf(_(" -f, --follow keep retrying after reaching end of WAL\n")); printf(_(" -n, --limit=N number of records to display\n")); - printf(_(" -p, --path=PATH directory in which to find log segment files\n" - " (default: ./pg_wal)\n")); + printf(_(" -p, --path=PATH directory in which to find log segment files or a\n" + " directory with a ./pg_wal that contains such files\n" + " (default: current directory, ./pg_wal, PGDATA/pg_wal)\n")); printf(_(" -r, --rmgr=RMGR only show records generated by resource manager RMGR\n" " use --rmgr=list to list valid resource manager names\n")); printf(_(" -s, --start=RECPTR start reading at log position RECPTR\n")); |