doc: Fix inconsistencies in GIN, BRIN and SP-GiST for optional opclass methods
authorMichael Paquier <michael@paquier.xyz>
Wed, 8 Jul 2020 01:41:53 +0000 (10:41 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 8 Jul 2020 01:41:53 +0000 (10:41 +0900)
The GIN and SP-GiST parts were out-of-sync since the changes of 14903f2,
and the BRIN part was wrong since its introduction in 15cb2bd.

Author: Guillaume Lelarge
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/CAECtzeXKvEPEr967h0PRYRi39uTmdEms=oUtc_PWGjZRNN1prw@mail.gmail.com
Backpatch-through: 13

doc/src/sgml/brin.sgml
doc/src/sgml/gin.sgml
doc/src/sgml/spgist.sgml

index 4c5eeb875f4b42713df834c4d0f736ff15cc2841..55b6272db62e00148ecd3deed707faf8d5c0ba3c 100644 (file)
@@ -585,7 +585,7 @@ typedef struct BrinOpcInfo
 
       <para>
        Since both key extraction of indexed values and representation of the
-       key in <acronym>GIN</acronym> are flexible, they may depend on
+       key in <acronym>BRIN</acronym> are flexible, they may depend on
        user-specified parameters.
       </para>
      </listitem>
index 7a8c18a4495c7bd6f374f78bbd7237e9d286c06e..07114f77199cec3adaac2f644c66bf0bc81027f9 100644 (file)
  </para>
 
  <para>
-  Optionally, an operator class for <acronym>GIN</acronym> can supply the
+  An operator class for <acronym>GIN</acronym> can optionally supply the
   following methods:
 
   <variablelist>
      <term><function>void options(local_relopts *relopts)</function></term>
      <listitem>
       <para>
-       Defines set of user-visible parameters that control operator class
+       Defines set of user-visible parameters that control operator class
        behavior.
       </para>
 
index d9ecfe74ed11655d6605b3b8c2f37ca8d492b9bd..5d6e893d49185fc19d20606b9eda21bfd82951ba 100644 (file)
@@ -881,7 +881,7 @@ typedef struct spgLeafConsistentOut
      <term><function>options</function></term>
      <listitem>
       <para>
-       Defines set of user-visible parameters that control operator class
+       Defines set of user-visible parameters that control operator class
        behavior.
       </para>