diff --git a/doc/src/sgml/xindex.sgml b/doc/src/sgml/xindex.sgml
index 2cfd71b5b7..609fa35d4c 100644
--- a/doc/src/sgml/xindex.sgml
+++ b/doc/src/sgml/xindex.sgml
@@ -400,15 +400,6 @@
specified by the index method.
-
- B-trees require a comparison support function,
- and allow three additional support functions to be
- supplied at the operator class author's option, as shown in .
- The requirements for these support functions are explained further in
- .
-
-
Additionally, some opclasses allow users to specify parameters which
control their behavior. Each builtin index access method has an optional
@@ -416,6 +407,15 @@
opclass-specific parameters.
+
+ B-trees require a comparison support function,
+ and allow four additional support functions to be
+ supplied at the operator class author's option, as shown in .
+ The requirements for these support functions are explained further in
+ .
+
+
B-Tree Support Functions
@@ -469,8 +469,8 @@
- Hash indexes require one support function, and allow a second one to be
- supplied at the operator class author's option, as shown in .
@@ -511,7 +511,7 @@
- GiST indexes have nine support functions, two of which are optional,
+ GiST indexes have ten support functions, three of which are optional,
as shown in .
(For more information see .)
@@ -594,7 +594,7 @@
- SP-GiST indexes require five support functions, as
+ SP-GiST indexes have six support functions, one of which is optional, as
shown in .
(For more information see .)
@@ -653,7 +653,7 @@
- GIN indexes have six support functions, three of which are optional,
+ GIN indexes have seven support functions, four of which are optional,
as shown in .
(For more information see .)
@@ -730,9 +730,9 @@
- BRIN indexes have four basic support functions, as shown in
- ; those basic functions
- may require additional support functions to be provided.
+ BRIN indexes have five basic support functions, one of which is optional,
+ as shown in . Some versions of
+ the basic functions require additional support functions to be provided.
(For more information see .)