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

Commit d7ab2a9

Browse files
committed
doc: Fix man page whitespace issues
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.
1 parent dad97e0 commit d7ab2a9

9 files changed

+15
-29
lines changed

doc/src/sgml/ref/alter_publication.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,7 @@ ALTER PUBLICATION sales_publication ADD ALL TABLES IN SCHEMA marketing, sales;
218218
<structname>production_publication</structname>:
219219
<programlisting>
220220
ALTER PUBLICATION production_publication ADD TABLE users, departments, ALL TABLES IN SCHEMA production;
221-
</programlisting>
222-
</para>
221+
</programlisting></para>
223222
</refsect1>
224223

225224
<refsect1>

doc/src/sgml/ref/alter_subscription.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,7 @@ ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> RENAME TO <
249249
</para>
250250
</listitem>
251251
</varlistentry>
252-
</variablelist>
253-
</para>
252+
</variablelist></para>
254253
</listitem>
255254
</varlistentry>
256255

doc/src/sgml/ref/alter_table.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -923,8 +923,7 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
923923
</para>
924924
</listitem>
925925
</varlistentry>
926-
</variablelist>
927-
</para>
926+
</variablelist></para>
928927
</listitem>
929928
</varlistentry>
930929

doc/src/sgml/ref/create_subscription.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,7 @@ CREATE SUBSCRIPTION <replaceable class="parameter">subscription_name</replaceabl
302302
</para>
303303
</listitem>
304304
</varlistentry>
305-
</variablelist>
306-
</para>
305+
</variablelist></para>
307306

308307
</listitem>
309308
</varlistentry>

doc/src/sgml/ref/create_trigger.sgml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,10 @@ CREATE [ OR REPLACE ] [ CONSTRAINT ] TRIGGER <replaceable class="parameter">name
175175
</para>
176176

177177
<para>
178-
<indexterm>
179-
<primary>trigger</primary>
180-
<secondary>constraint trigger</secondary>
181-
</indexterm>
182178
When the <literal>CONSTRAINT</literal> option is specified, this command creates a
183-
<firstterm>constraint trigger</firstterm>. This is the same as a regular trigger
179+
<firstterm>constraint trigger</firstterm>.<indexterm><primary>trigger</primary>
180+
<secondary>constraint trigger</secondary></indexterm>
181+
This is the same as a regular trigger
184182
except that the timing of the trigger firing can be adjusted using
185183
<link linkend="sql-set-constraints"><command>SET CONSTRAINTS</command></link>.
186184
Constraint triggers must be <literal>AFTER ROW</literal> triggers on plain

doc/src/sgml/ref/drop_procedure.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,7 @@ DROP PROCEDURE do_db_maintenance(text, text); -- potentially ambiguous
194194
However, the last example would be ambiguous if there is also, say,
195195
<programlisting>
196196
CREATE PROCEDURE do_db_maintenance(IN target_schema text, IN options text) ...
197-
</programlisting>
198-
</para>
197+
</programlisting></para>
199198
</refsect1>
200199

201200
<refsect1 id="sql-dropprocedure-compatibility">

doc/src/sgml/ref/merge.sgml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -472,11 +472,9 @@ MERGE <replaceable class="parameter">total_count</replaceable>
472472
the action's event type.
473473
</para>
474474
</listitem>
475-
</orderedlist>
476-
</para>
475+
</orderedlist></para>
477476
</listitem>
478-
</orderedlist>
479-
</para>
477+
</orderedlist></para>
480478
</listitem>
481479
<listitem>
482480
<para>

doc/src/sgml/ref/pg_basebackup.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -994,8 +994,7 @@ PostgreSQL documentation
994994
directory <filename>backup</filename>:
995995
<screen>
996996
<prompt>$</prompt> <userinput>pg_basebackup -D backup -Ft --compress=gzip:9</userinput>
997-
</screen>
998-
</para>
997+
</screen></para>
999998

1000999
</refsect1>
10011000

doc/src/sgml/ref/pgbench.sgml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2459,11 +2459,9 @@ END;
24592459
<para>
24602460
Here is some example output with following options:
24612461
<screen>
2462-
pgbench --aggregate-interval=10 --time=20 --client=10 --log --rate=1000
2463-
--latency-limit=10 --failures-detailed --max-tries=10 test
2464-
</screen>
2462+
<userinput>pgbench --aggregate-interval=10 --time=20 --client=10 --log --rate=1000
2463+
--latency-limit=10 --failures-detailed --max-tries=10 test</userinput>
24652464

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

25872584
<para>
25882585
If multiple script files are specified, all statistics are reported
@@ -2637,8 +2634,7 @@ statement latencies in milliseconds, failures and retries:
26372634
supposed to never occur...).
26382635
</para>
26392636
</listitem>
2640-
</itemizedlist>
2641-
</para>
2637+
</itemizedlist></para>
26422638
</listitem>
26432639
<listitem>
26442640
<para>

0 commit comments

Comments
 (0)