Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9b7bb10

Browse files
committed
doc: Fix option order in man pages and fix typos
1 parent 1109164 commit 9b7bb10

File tree

3 files changed

+47
-40
lines changed

3 files changed

+47
-40
lines changed

doc/src/sgml/ref/pg_dump.sgml

+22-17
Original file line numberDiff line numberDiff line change
@@ -544,23 +544,6 @@ PostgreSQL documentation
544544
</listitem>
545545
</varlistentry>
546546

547-
<varlistentry>
548-
<term><option>--strict-names</></term>
549-
<listitem>
550-
<para>
551-
Require that each schema (-n / --schema) and table (-t / --table)
552-
qualifier match at least one schema/table in the database to be dumped.
553-
Note that if none of the schema/table qualifiers find matches pg_dump
554-
will generate an error even without --strict-names.
555-
</para>
556-
<para>
557-
This option has no effect on -N/--exclude-schema, -T/--exclude_table
558-
or --exclude-table-date. An exclude pattern failing to match
559-
any objects is not considered an error.
560-
</para>
561-
</listitem>
562-
</varlistentry>
563-
564547
<varlistentry>
565548
<term><option>-T <replaceable class="parameter">table</replaceable></option></term>
566549
<term><option>--exclude-table=<replaceable class="parameter">table</replaceable></option></term>
@@ -925,6 +908,28 @@ PostgreSQL documentation
925908
</listitem>
926909
</varlistentry>
927910

911+
<varlistentry>
912+
<term><option>--strict-names</></term>
913+
<listitem>
914+
<para>
915+
Require that each schema
916+
(<option>-n</option>/<option>--schema</option>) and table
917+
(<option>-t</option>/<option>--table</option>) qualifier match at
918+
least one schema/table in the database to be dumped. Note that if
919+
none of the schema/table qualifiers find
920+
matches, <application>pg_dump</application> will generate an error
921+
even without <option>--strict-names</option>.
922+
</para>
923+
<para>
924+
This option has no effect
925+
on <option>-N</option>/<option>--exclude-schema</option>,
926+
<option>-T</option>/<option>--exclude-table</option>,
927+
or <option>--exclude-table-data</option>. An exclude pattern failing
928+
to match any objects is not considered an error.
929+
</para>
930+
</listitem>
931+
</varlistentry>
932+
928933
<varlistentry>
929934
<term><option>--use-set-session-authorization</></term>
930935
<listitem>

doc/src/sgml/ref/pg_restore.sgml

+12-10
Original file line numberDiff line numberDiff line change
@@ -431,16 +431,6 @@
431431
</listitem>
432432
</varlistentry>
433433

434-
<varlistentry>
435-
<term><option>--strict-names</></term>
436-
<listitem>
437-
<para>
438-
Require that each schema (-n / --schema) and table (-t / --table)
439-
qualifier match at least one schema/table in the backup file.
440-
</para>
441-
</listitem>
442-
</varlistentry>
443-
444434
<varlistentry>
445435
<term><option>-T <replaceable class="parameter">trigger</replaceable></option></term>
446436
<term><option>--trigger=<replaceable class="parameter">trigger</replaceable></option></term>
@@ -615,6 +605,18 @@
615605
</listitem>
616606
</varlistentry>
617607

608+
<varlistentry>
609+
<term><option>--strict-names</></term>
610+
<listitem>
611+
<para>
612+
Require that each schema
613+
(<option>-n</option>/<option>--schema</option>) and table
614+
(<option>-t</option>/<option>--table</option>) qualifier match at
615+
least one schema/table in the backup file.
616+
</para>
617+
</listitem>
618+
</varlistentry>
619+
618620
<varlistentry>
619621
<term><option>--use-set-session-authorization</option></term>
620622
<listitem>

doc/src/sgml/ref/pgbench.sgml

+13-13
Original file line numberDiff line numberDiff line change
@@ -444,19 +444,6 @@ pgbench <optional> <replaceable>options</> </optional> <replaceable>dbname</>
444444
</listitem>
445445
</varlistentry>
446446

447-
<varlistentry>
448-
<term><option>--progress-timestamp</option></term>
449-
<listitem>
450-
<para>
451-
When showing progress (option <option>-P</>), use a timestamp
452-
(Unix epoch) instead of the number of seconds since the
453-
beginning of the run. The unit is in seconds, with millisecond
454-
precision after the dot.
455-
This helps compare logs generated by various tools.
456-
</para>
457-
</listitem>
458-
</varlistentry>
459-
460447
<varlistentry>
461448
<term><option>-r</option></term>
462449
<term><option>--report-latencies</option></term>
@@ -596,6 +583,19 @@ pgbench <optional> <replaceable>options</> </optional> <replaceable>dbname</>
596583
</listitem>
597584
</varlistentry>
598585

586+
<varlistentry>
587+
<term><option>--progress-timestamp</option></term>
588+
<listitem>
589+
<para>
590+
When showing progress (option <option>-P</>), use a timestamp
591+
(Unix epoch) instead of the number of seconds since the
592+
beginning of the run. The unit is in seconds, with millisecond
593+
precision after the dot.
594+
This helps compare logs generated by various tools.
595+
</para>
596+
</listitem>
597+
</varlistentry>
598+
599599
<varlistentry>
600600
<term><option>--sampling-rate=<replaceable>rate</></option></term>
601601
<listitem>

0 commit comments

Comments
 (0)