diff options
author | Bruce Momjian <bruce@momjian.us> | 2017-01-10 22:38:13 -0500 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2017-01-10 22:38:13 -0500 |
commit | 1c15f843485bf36e279686b6ed0b659232b975bb (patch) | |
tree | 8343c15bc3b8037fb900f6328d2a80e07d37efeb /src/bin/pg_xlogdump/pg_xlogdump.c | |
parent | 22a85b3fbe85a9f1c92de90192de001b7394b4fe (diff) | |
download | postgresql-1c15f843485bf36e279686b6ed0b659232b975bb.tar.gz postgresql-1c15f843485bf36e279686b6ed0b659232b975bb.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/bin/pg_xlogdump/pg_xlogdump.c')
-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 9ad9321e1f9..5c546ceb797 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"); - printf(" (default: ./pg_xlog)\n"); + printf(" -p, --path=PATH directory in which to find log segment files or a\n"); + printf(" directory with a ./pg_xlog that contains such files\n" + " (default: current directory, ./pg_xlog, PGDATA/pg_xlog)\n"); printf(" -r, --rmgr=RMGR only show records generated by resource manager RMGR\n"); printf(" use --rmgr=list to list valid resource manager names\n"); printf(" -s, --start=RECPTR start reading at log position RECPTR\n"); |