]> 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>
Thu, 8 Mar 2018 18:31:57 +0000 (13:31 -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 564a16994d669aded10e827490f4e2179a47c8b7..8cd8db7d18c4c5bc3251c9e872d49c7fcba9c47d 100644 (file)
@@ -407,8 +407,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
@@ -424,8 +423,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>
@@ -435,8 +433,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 -->