8000 doc: Fix man page whitespace issues · postgrespro/postgres@a02b8bd · GitHub
[go: up one dir, main page]

Skip to content

Commit a02b8bd

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 either to remove some newlines or in some cases to reword slightly to avoid the awkward markup layout.
1 parent f4c88ce commit a02b8bd

19 files changed

+24
-50
lines changed

doc/src/sgml/ref/alter_collation.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ SELECT pg_describe_object(refclassid, refobjid, refobjsubid) AS "Collation",
149149
ON refclassid = 'pg_collation'::regclass AND refobjid = c.oid
150150
WHERE c.collversion <> pg_collation_actual_version(c.oid)
151151
ORDER BY 1, 2;
152-
]]></programlisting>
153-
</para>
152+
]]></programlisting></para>
154153
</refsect1>
155154

156155
<refsect1>

doc/src/sgml/ref/alter_subscription.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> RENAME TO <
133133
</para>
134134
</listitem>
135135
</varlistentry>
136-
</variablelist>
137-
</para>
136+
</variablelist></para>
138137
</listitem>
139138
</varlistentry>
140139

doc/src/sgml/ref/alter_type.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,7 @@ ALTER TYPE mytype SET (
463463
SEND = mytypesend,
464464
RECEIVE = mytyperecv
465465
);
466-
</programlisting>
467-
</para>
466+
</programlisting></para>
468467
</refsect1>
469468

470469
<refsect1>

doc/src/sgml/ref/alter_view.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,7 @@ ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> RESET
161161
</para>
162162
</listitem>
163163
</varlistentry>
164-
</variablelist>
165-
</para>
164+
</variablelist></para>
166165
</listitem>
167166
</varlistentry>
168167
</variablelist>

doc/src/sgml/ref/create_extension.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,7 @@ CREATE EXTENSION [ IF NOT EXISTS ] <replaceable class="parameter">extension_name
191191
current database:
192192
<programlisting>
193193
CREATE EXTENSION hstore;
194-
</programlisting>
195-
</para>
194+
</programlisting></para>
196195
</refsect1>
197196

198197
<refsect1>

doc/src/sgml/ref/create_language.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,7 @@ CREATE LANGUAGE plsample
229229
and users would do this to install the extension:
230230
<programlisting>
231231
CREATE EXTENSION plsample;
232-
</programlisting>
233-
</para>
232+
</programlisting></para>
234233
</refsect1>
235234

236235
<refsect1 id="sql-createlanguage-compat">

doc/src/sgml/ref/create_publication.sgml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ CREATE PUBLICATION <replaceable class="parameter">name</replaceable>
2525
[ FOR TABLE [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ * ] [, ...]
2626
| FOR ALL TABLES ]
2727
[ WITH ( <replaceable class="parameter">publication_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) ]
28-
2928
</synopsis>
3029
</refsynopsisdiv>
3130

@@ -143,9 +142,7 @@ CREATE PUBLICATION <replaceable class="parameter">name</replaceable>
143142
</para>
144143
</listitem>
145144
</varlistentry>
146-
</variablelist>
147-
148-
</para>
145+
</variablelist></para>
149146
</listitem>
150147
</varlistentry>
151148

doc/src/sgml/ref/create_subscription.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,7 @@ CREATE SUBSCRIPTION <replaceable class="parameter">subscription_name</replaceabl
206206
</para>
207207
</listitem>
208208
</varlistentry>
209-
</variablelist>
210-
</para>
209+
</variablelist></para>
211210
</listitem>
212211
</varlistentry>
213212
</variablelist>

doc/src/sgml/ref/create_view.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@ CREATE VIEW [ <replaceable>schema</replaceable> . ] <replaceable>view_name</repl
152152
</para>
153153
</listitem>
154154
</varlistentry>
155-
</variablelist>
156-
</para>
155+
</variablelist></para>
157156
</listitem>
158157
</varlistentry>
159158

doc/src/sgml/ref/drop_function.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ DROP FUNCTION update_employee_salaries();
175175
<listitem>
176176
<para>The ability to specify argument modes and names</para>
177177
</listitem>
178-
</itemizedlist>
179-
</para>
178+
</itemizedlist></para>
180179
</refsect1>
181180

182181
<refsect1>

0 commit comments

Comments
 (0)
0