8000 Fix warnings in man page build · itsmadness55/postgres@2f09dc1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2f09dc1

Browse files
committed
Fix warnings in man page build
The changes in the CREATE POLICY man page from commit 87c2a17 triggered a stylesheet bug that created some warning messages and incorrect output. This installs a workaround. Also improve the whitespace a bit so it looks better.
1 parent 8e5c2af commit 2f09dc1

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

doc/src/sgml/ref/create_policy.sgml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
407407
<row>
408408
<entry><command>INSERT ... RETURNING</command></entry>
409409
<entry>
410-
New row
411-
<footnote id="rls-select-priv">
410+
New row <footnote id="rls-select-priv">
412411
<para>
413412
If read access is required to the existing or new row (for example,
414413
a <literal>WHERE</literal> or <literal>RETURNING</literal> clause
@@ -424,8 +423,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
424423
<row>
425424
<entry><command>UPDATE</command></entry>
426425
<entry>
427-
Existing &amp; new rows
428-
<footnoteref linkend="rls-select-priv">
426+
Existing &amp; new rows <footnoteref linkend="rls-select-priv">
429427
</entry>
430428
<entry>&mdash;</entry>
431429
<entry>Existing row</entry>
@@ -435,8 +433,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
435433
<row>
436434
<entry><command>DELETE</command></entry>
437435
<entry>
438-
Existing row
439-
<footnoteref linkend="rls-select-priv">
436+
Existing row <footnoteref linkend="rls-select-priv">
440437
</entry>
441438
<entry>&mdash;</entry>
442439
<entry>&mdash;</entry>

doc/src/sgml/stylesheet-man.xsl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,12 @@
191191
<xsl:template match="indexterm"/>
192192

193193

194+
<!-- https://github.com/docbook/xslt10-stylesheets/issues/59 -->
195+
<xsl:template match="a/sup">
196+
<xsl:apply-templates/>
197+
</xsl:template>
198+
199+
194200
<!-- Gentext customization -->
195201

196202
<!-- see http://www.sagehill.net/docbookxsl/CustomGentext.html -->

0 commit comments

Comments
 (0)
0