]> granicus.if.org Git - postgresql/commitdiff
Fix warnings in man page build
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 28 Feb 2018 13:22:51 +0000 (08:22 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 28 Feb 2018 13:22:51 +0000 (08:22 -0500)
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.

doc/src/sgml/ref/create_policy.sgml
doc/src/sgml/stylesheet-man.xsl

index 85c74e8e82d989536bd2c87aeba8c38ebb3882e7..0e35b0ef43edbaef50199c2ac9304aecf0abc7eb 100644 (file)
@@ -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>
index e9c407230c578bbc15774b6890d2dd5ab083ff1f..5ef2fcd634d12193f787501e42fb628b25bbbffa 100644 (file)
   <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 -->