mirror of
https://github.com/postgres/postgres.git
synced 2025-05-09 18:21:05 +03:00
pg_dump: Put new options in consistent order in --help and man page
This commit is contained in:
parent
286eea5d3a
commit
256b4b0606
@ -256,27 +256,6 @@ PostgreSQL documentation
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--exclude-extension=<replaceable class="parameter">pattern</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Do not dump any extensions matching <replaceable
|
||||
class="parameter">pattern</replaceable>. The pattern is
|
||||
interpreted according to the same rules as for <option>-e</option>.
|
||||
<option>--exclude-extension</option> can be given more than once to exclude extensions
|
||||
matching any of several patterns.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
When both <option>-e</option> and <option>--exclude-extension</option> are given, the behavior
|
||||
is to dump just the extensions that match at least one <option>-e</option>
|
||||
switch but no <option>--exclude-extension</option> switches. If <option>--exclude-extension</option>
|
||||
appears without <option>-e</option>, then extensions matching <option>--exclude-extension</option> are
|
||||
excluded from what is otherwise a normal dump.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-E <replaceable class="parameter">encoding</replaceable></option></term>
|
||||
<term><option>--encoding=<replaceable class="parameter">encoding</replaceable></option></term>
|
||||
@ -803,6 +782,27 @@ PostgreSQL documentation
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--exclude-extension=<replaceable class="parameter">pattern</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Do not dump any extensions matching <replaceable
|
||||
class="parameter">pattern</replaceable>. The pattern is
|
||||
interpreted according to the same rules as for <option>-e</option>.
|
||||
<option>--exclude-extension</option> can be given more than once to exclude extensions
|
||||
matching any of several patterns.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
When both <option>-e</option> and <option>--exclude-extension</option> are given, the behavior
|
||||
is to dump just the extensions that match at least one <option>-e</option>
|
||||
switch but no <option>--exclude-extension</option> switches. If <option>--exclude-extension</option>
|
||||
appears without <option>-e</option>, then extensions matching <option>--exclude-extension</option> are
|
||||
excluded from what is otherwise a normal dump.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--exclude-table-and-children=<replaceable class="parameter">pattern</replaceable></option></term>
|
||||
<listitem>
|
||||
|
@ -1115,7 +1115,6 @@ help(const char *progname)
|
||||
printf(_(" -c, --clean clean (drop) database objects before recreating\n"));
|
||||
printf(_(" -C, --create include commands to create database in dump\n"));
|
||||
printf(_(" -e, --extension=PATTERN dump the specified extension(s) only\n"));
|
||||
printf(_(" --exclude-extension=PATTERN do NOT dump the specified extension(s)\n"));
|
||||
printf(_(" -E, --encoding=ENCODING dump the data in encoding ENCODING\n"));
|
||||
printf(_(" -n, --schema=PATTERN dump the specified schema(s) only\n"));
|
||||
printf(_(" -N, --exclude-schema=PATTERN do NOT dump the specified schema(s)\n"));
|
||||
@ -1132,6 +1131,7 @@ help(const char *progname)
|
||||
printf(_(" --disable-triggers disable triggers during data-only restore\n"));
|
||||
printf(_(" --enable-row-security enable row security (dump only content user has\n"
|
||||
" access to)\n"));
|
||||
printf(_(" --exclude-extension=PATTERN do NOT dump the specified extension(s)\n"));
|
||||
printf(_(" --exclude-table-and-children=PATTERN\n"
|
||||
" do NOT dump the specified table(s), including\n"
|
||||
" child and partition tables\n"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user