From a273dcc6fd34c8b6aa290fafa45e516ccd8d907d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 9 Sep 2020 12:00:49 -0400 Subject: [PATCH] Doc: adjust documentation related to index support functions. Commit 15cb2bd27 neglected to make the running text match the tables, leaving the reader with the strong impression that we cannot count. Also, don't drop an unrelated para between a table and the para describing it. --- doc/src/sgml/xindex.sgml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/doc/src/sgml/xindex.sgml b/doc/src/sgml/xindex.sgml index 2cfd71b5b77..609fa35d4ca 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 .)