Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6ef2448

Browse files
committed
Fix a whitespace issue with the man pages
There is what may actually be a mistake in our markup. The problem is in a situation like <para> <command>FOO</command> is ... there is strictly speaking a line break before "FOO". In the HTML output, this does not appear to be a problem, but in the man page output, this shows up, so you get double blank lines at odd places. So far, we have attempted to work around this with an XSL hack, but that causes other problems, such as creating run-ins in places like <acronym>SQL</acronym> <command>COPY</command> So fix the problem properly by removing the extra whitespace. I only fixed the problems that affect the man page output, not all the places.
1 parent 05e8396 commit 6ef2448

File tree

115 files changed

+194
-413
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+194
-413
lines changed

doc/src/sgml/dblink.sgml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ dblink_connect(text connname, text connstr) returns text
7676
<varlistentry>
7777
<term><parameter>connstr</parameter></term>
7878
<listitem>
79-
<para>
80-
<application>libpq</>-style connection info string, for example
79+
<para><application>libpq</>-style connection info string, for example
8180
<literal>hostaddr=127.0.0.1 port=5432 dbname=mydb user=postgres
8281
password=mypasswd</>.
8382
For details see <function>PQconnectdb</> in
@@ -447,8 +446,7 @@ CREATE VIEW myremote_pg_proc AS
447446
AS t1(proname name, prosrc text);
448447

449448
SELECT * FROM myremote_pg_proc WHERE proname LIKE 'bytea%';
450-
</programlisting>
451-
</para>
449+
</programlisting></para>
452450
</refsect1>
453451

454452
<refsect1>

doc/src/sgml/ref/abort.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ ABORT [ WORK | TRANSACTION ]
7575
To abort all changes:
7676
<programlisting>
7777
ABORT;
78-
</programlisting>
79-
</para>
78+
</programlisting></para>
8079
</refsect1>
8180

8281
<refsect1>

doc/src/sgml/ref/alter_aggregate.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ ALTER AGGREGATE myavg(integer) OWNER TO joe;
125125
<type>integer</type> into schema <literal>myschema</literal>:
126126
<programlisting>
127127
ALTER AGGREGATE myavg(integer) SET SCHEMA myschema;
128-
</programlisting>
129-
</para>
128+
</programlisting></para>
130129
</refsect1>
131130

132131
<refsect1>

doc/src/sgml/ref/alter_collation.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ ALTER COLLATION "de_DE" RENAME TO german;
104104
<literal>joe</literal>:
105105
<programlisting>
106106
ALTER COLLATION "en_US" OWNER TO joe;
107-
</programlisting>
108-
</para>
107+
</programlisting></para>
109108
</refsect1>
110109

111110
<refsect1>

doc/src/sgml/ref/alter_conversion.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ ALTER CONVERSION iso_8859_1_to_utf8 RENAME TO latin1_to_unicode;
104104
<literal>joe</literal>:
105105
<programlisting>
106106
ALTER CONVERSION iso_8859_1_to_utf8 OWNER TO joe;
107-
</programlisting>
108-
</para>
107+
</programlisting></para>
109108
</refsect1>
110109

111110
<refsect1>

doc/src/sgml/ref/alter_database.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,7 @@ ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> RESET ALL
190190

191191
<programlisting>
192192
ALTER DATABASE test SET enable_indexscan TO off;
193-
</programlisting>
194-
</para>
193+
</programlisting></para>
195194
</refsect1>
196195

197196
<refsect1>

doc/src/sgml/ref/alter_default_privileges.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,7 @@ ALTER DEFAULT PRIVILEGES IN SCHEMA myschema REVOKE INSERT ON TABLES FROM webuser
187187

188188
<programlisting>
189189
ALTER DEFAULT PRIVILEGES FOR ROLE admin REVOKE EXECUTE ON FUNCTIONS FROM PUBLIC;
190-
</programlisting>
191-
</para>
190+
</programlisting></para>
192191
</refsect1>
193192

194193
<refsect1>

doc/src/sgml/ref/alter_domain.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,7 @@ ALTER DOMAIN zipcode DROP CONSTRAINT zipchk;
270270
To move the domain into a different schema:
271271
<programlisting>
272272
ALTER DOMAIN zipcode SET SCHEMA customers;
273-
</programlisting>
274-
</para>
273+
</programlisting></para>
275274
</refsect1>
276275

277276
<refsect1 id="SQL-ALTERDOMAIN-compatibility">

doc/src/sgml/ref/alter_extension.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,7 @@ ALTER EXTENSION hstore SET SCHEMA utils;
288288
To add an existing function to the <literal>hstore</literal> extension:
289289
<programlisting>
290290
ALTER EXTENSION hstore ADD FUNCTION populate_record(anyelement, hstore);
291-
</programlisting>
292-
</para>
291+
</programlisting></para>
293292
</refsect1>
294293

295294
<refsect1 id="SQL-ALTEREXTENSION-see-also">

doc/src/sgml/ref/alter_foreign_data_wrapper.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ ALTER FOREIGN DATA WRAPPER dbi OPTIONS (ADD foo '1', DROP 'bar');
141141
to <literal>bob.myvalidator</>:
142142
<programlisting>
143143
ALTER FOREIGN DATA WRAPPER dbi VALIDATOR bob.myvalidator;
144-
</programlisting>
145-
</para>
144+
</programlisting></para>
146145
</refsect1>
147146

148147
<refsect1>

0 commit comments

Comments
 (0)