mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
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
This commit is contained in:
parent
abfd0095c1
commit
73f8d73313
@ -117,9 +117,12 @@ PostgreSQL documentation
|
|||||||
<term><option>--path=<replaceable>path</replaceable></option></term>
|
<term><option>--path=<replaceable>path</replaceable></option></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Directory in which to find log segment files. The default is to search
|
Specifies a directory to search for log segment files or a
|
||||||
for them in the <literal>pg_wal</literal> subdirectory of the current
|
directory with a <literal>pg_wal</literal> subdirectory that
|
||||||
directory.
|
contains such files. The default is to search in the current
|
||||||
|
directory, the <literal>pg_wal</literal> subdirectory of the
|
||||||
|
current directory, and the <literal>pg_wal</literal> subdirectory
|
||||||
|
of <envar>PGDATA</envar>.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
@ -679,8 +679,9 @@ usage(void)
|
|||||||
printf(_(" -e, --end=RECPTR stop reading at log position RECPTR\n"));
|
printf(_(" -e, --end=RECPTR stop reading at log position RECPTR\n"));
|
||||||
printf(_(" -f, --follow keep retrying after reaching end of WAL\n"));
|
printf(_(" -f, --follow keep retrying after reaching end of WAL\n"));
|
||||||
printf(_(" -n, --limit=N number of records to display\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(_(" -p, --path=PATH directory in which to find log segment files or a\n"
|
||||||
" (default: ./pg_wal)\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"
|
printf(_(" -r, --rmgr=RMGR only show records generated by resource manager RMGR\n"
|
||||||
" use --rmgr=list to list valid resource manager names\n"));
|
" use --rmgr=list to list valid resource manager names\n"));
|
||||||
printf(_(" -s, --start=RECPTR start reading at log position RECPTR\n"));
|
printf(_(" -s, --start=RECPTR start reading at log position RECPTR\n"));
|
||||||
|
Loading…
Reference in New Issue
Block a user