Skip to content

Commit

Permalink
doc: Fix man page whitespace issues
Browse files Browse the repository at this point in the history
Whitespace between tags is significant, and in some cases it creates
extra vertical space in man pages.  The fix is to remove some newlines
in the markup.
  • Loading branch information
petere committed Apr 7, 2022
1 parent dad97e0 commit d7ab2a9
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 29 deletions.
3 changes: 1 addition & 2 deletions doc/src/sgml/ref/alter_publication.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@ ALTER PUBLICATION sales_publication ADD ALL TABLES IN SCHEMA marketing, sales;
<structname>production_publication</structname>:
<programlisting>
ALTER PUBLICATION production_publication ADD TABLE users, departments, ALL TABLES IN SCHEMA production;
</programlisting>
</para>
</programlisting></para>
</refsect1>

<refsect1>
Expand Down
3 changes: 1 addition & 2 deletions doc/src/sgml/ref/alter_subscription.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,7 @@ ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> RENAME TO <
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</variablelist></para>
</listitem>
</varlistentry>

Expand Down
3 changes: 1 addition & 2 deletions doc/src/sgml/ref/alter_table.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -923,8 +923,7 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</variablelist></para>
</listitem>
</varlistentry>

Expand Down
3 changes: 1 addition & 2 deletions doc/src/sgml/ref/create_subscription.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,7 @@ CREATE SUBSCRIPTION <replaceable class="parameter">subscription_name</replaceabl
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</variablelist></para>

</listitem>
</varlistentry>
Expand Down
8 changes: 3 additions & 5 deletions doc/src/sgml/ref/create_trigger.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,10 @@ CREATE [ OR REPLACE ] [ CONSTRAINT ] TRIGGER <replaceable class="parameter">name
</para>

<para>
<indexterm>
<primary>trigger</primary>
<secondary>constraint trigger</secondary>
</indexterm>
When the <literal>CONSTRAINT</literal> option is specified, this command creates a
<firstterm>constraint trigger</firstterm>. This is the same as a regular trigger
<firstterm>constraint trigger</firstterm>.<indexterm><primary>trigger</primary>
<secondary>constraint trigger</secondary></indexterm>
This is the same as a regular trigger
except that the timing of the trigger firing can be adjusted using
<link linkend="sql-set-constraints"><command>SET CONSTRAINTS</command></link>.
Constraint triggers must be <literal>AFTER ROW</literal> triggers on plain
Expand Down
3 changes: 1 addition & 2 deletions doc/src/sgml/ref/drop_procedure.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@ DROP PROCEDURE do_db_maintenance(text, text); -- potentially ambiguous
However, the last example would be ambiguous if there is also, say,
<programlisting>
CREATE PROCEDURE do_db_maintenance(IN target_schema text, IN options text) ...
</programlisting>
</para>
</programlisting></para>
</refsect1>

<refsect1 id="sql-dropprocedure-compatibility">
Expand Down
6 changes: 2 additions & 4 deletions doc/src/sgml/ref/merge.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -472,11 +472,9 @@ MERGE <replaceable class="parameter">total_count</replaceable>
the action's event type.
</para>
</listitem>
</orderedlist>
</para>
</orderedlist></para>
</listitem>
</orderedlist>
</para>
</orderedlist></para>
</listitem>
<listitem>
<para>
Expand Down
3 changes: 1 addition & 2 deletions doc/src/sgml/ref/pg_basebackup.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -994,8 +994,7 @@ PostgreSQL documentation
directory <filename>backup</filename>:
<screen>
<prompt>$</prompt> <userinput>pg_basebackup -D backup -Ft --compress=gzip:9</userinput>
</screen>
</para>
</screen></para>

</refsect1>

Expand Down
12 changes: 4 additions & 8 deletions doc/src/sgml/ref/pgbench.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -2459,11 +2459,9 @@ END;
<para>
Here is some example output with following options:
<screen>
pgbench --aggregate-interval=10 --time=20 --client=10 --log --rate=1000
--latency-limit=10 --failures-detailed --max-tries=10 test
</screen>
<userinput>pgbench --aggregate-interval=10 --time=20 --client=10 --log --rate=1000
--latency-limit=10 --failures-detailed --max-tries=10 test</userinput>

<screen>
1649114136 5815 27552565 177846919143 1078 21716 2756787 7264696105 0 9661 0 7854 31472 4022 4022 0
1649114146 5958 28460110 182785513108 1083 20391 2539395 6411761497 0 7268 0 8127 32595 4101 4101 0
</screen>
Expand Down Expand Up @@ -2581,8 +2579,7 @@ statement latencies in milliseconds, failures and retries:
0.582 3363 41576 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;
0.465 0 0 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);
1.933 0 0 END;
</screen>
</para>
</screen></para>

<para>
If multiple script files are specified, all statistics are reported
Expand Down Expand Up @@ -2637,8 +2634,7 @@ statement latencies in milliseconds, failures and retries:
supposed to never occur...).
</para>
</listitem>
</itemizedlist>
</para>
</itemizedlist></para>
</listitem>
<listitem>
<para>
Expand Down

0 comments on commit d7ab2a9

Please sign in to comment.