aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-02-28 08:22:51 -0500
committerPeter Eisentraut <peter_e@gmx.net>2018-03-08 12:23:05 -0500
commitcccba8b768d60c3f709298075c8795b8142e39ad (patch)
tree1ecb2a112dfbc7a37ad428863ae3811676198431
parent0f9c7c286271e219da5c6789d302099e79a2b7a5 (diff)
downloadpostgresql-cccba8b768d60c3f709298075c8795b8142e39ad.tar.gz
postgresql-cccba8b768d60c3f709298075c8795b8142e39ad.zip
Fix warnings in man page build
The changes in the CREATE POLICY man page from commit 87c2a17fee784c7e1004ba3d3c5d8147da676783 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.
-rw-r--r--doc/src/sgml/ref/create_policy.sgml9
-rw-r--r--doc/src/sgml/stylesheet-man.xsl6
2 files changed, 9 insertions, 6 deletions
diff --git a/doc/src/sgml/ref/create_policy.sgml b/doc/src/sgml/ref/create_policy.sgml
index 44b179e6ef4..3f8a7a2015a 100644
--- a/doc/src/sgml/ref/create_policy.sgml
+++ b/doc/src/sgml/ref/create_policy.sgml
@@ -445,8 +445,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
<row>
<entry><command>INSERT ... RETURNING</command></entry>
<entry>
- New row
- <footnote id="rls-select-priv">
+ New row <footnote id="rls-select-priv">
<para>
If read access is required to the existing or new row (for example,
a <literal>WHERE</literal> or <literal>RETURNING</literal> clause
@@ -462,8 +461,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
<row>
<entry><command>UPDATE</command></entry>
<entry>
- Existing &amp; new rows
- <footnoteref linkend="rls-select-priv">
+ Existing &amp; new rows <footnoteref linkend="rls-select-priv">
</entry>
<entry>&mdash;</entry>
<entry>Existing row</entry>
@@ -473,8 +471,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
<row>
<entry><command>DELETE</command></entry>
<entry>
- Existing row
- <footnoteref linkend="rls-select-priv">
+ Existing row <footnoteref linkend="rls-select-priv">
</entry>
<entry>&mdash;</entry>
<entry>&mdash;</entry>
diff --git a/doc/src/sgml/stylesheet-man.xsl b/doc/src/sgml/stylesheet-man.xsl
index e9c407230c5..5ef2fcd634d 100644
--- a/doc/src/sgml/stylesheet-man.xsl
+++ b/doc/src/sgml/stylesheet-man.xsl
@@ -191,6 +191,12 @@
<xsl:template match="indexterm"/>
+<!-- https://github.com/docbook/xslt10-stylesheets/issues/59 -->
+<xsl:template match="a/sup">
+ <xsl:apply-templates/>
+</xsl:template>
+
+
<!-- Gentext customization -->
<!-- see http://www.sagehill.net/docbookxsl/CustomGentext.html -->