16.11.2015 21:59, Alvaro Herrera:
Anastasia Lubennikova wrote:
Fix incomplete gist interface description.
Hi, thanks for the patch.

I think this sentence is a bit confusing:

    <para>
-   GiST indexes require seven support functions, with an optional eighth, as
+   GiST indexes require seven support functions, with two optional, as
     shown in <xref linkend="xindex-gist-support-table">.
The new text seems to say that one of the seven support funcs is
optional, which is wrong if I correctly understand that the "fetch"
optional function was added.

Maybe "GiST indexes require nine support functions, two of which are
optional, as shown in XYZ".
Yes, thank you for advice. I think it'll be more clear.

This is to be backpatched as far back as commit d04c8ed9044ec, right?
Yes.

--
Anastasia Lubennikova
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

diff --git a/doc/src/sgml/xindex.sgml b/doc/src/sgml/xindex.sgml
index 4fac018..4a8eb1b 100644
--- a/doc/src/sgml/xindex.sgml
+++ b/doc/src/sgml/xindex.sgml
@@ -416,7 +416,7 @@
    </table>
 
   <para>
-   GiST indexes require seven support functions, with an optional eighth, as
+   GiST indexes require nine support functions, two of which are optional, as
    shown in <xref linkend="xindex-gist-support-table">.
    (For more information see <xref linkend="GiST">.)
   </para>
@@ -477,6 +477,11 @@
        <entry>determine distance from key to query value (optional)</entry>
        <entry>8</entry>
       </row>
+      <row>
+       <entry><function>fetch</></entry>
+       <entry>compute original representation of a compressed key for index-only scans (optional)</entry>
+       <entry>9</entry>
+      </row>
      </tbody>
     </tgroup>
    </table>
-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

Reply via email to