Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
doc: correct syntax of pgtrgm examples in older releases
authorBruce Momjian <bruce@momjian.us>
Sat, 25 Aug 2018 19:03:32 +0000 (15:03 -0400)
committerBruce Momjian <bruce@momjian.us>
Sat, 25 Aug 2018 19:03:32 +0000 (15:03 -0400)
Reported-by: Liudmila Mantrova
Discussion: https://postgr.es/m/ded40ecb-557e-8c50-7d58-69f4b5226664@postgrespro.ru

Backpatch-through: 9.6 and 10 only

doc/src/sgml/pgtrgm.sgml

index 350da77104e1551badd1774e340013e11cef70b9..8e50f7950139b733a0a7e9975d6010d61a519511 100644 (file)
    In the first string, the set of trigrams is
    <literal>{"  w"," wo","ord","wor","rd "}</literal>.
    In the second string, the ordered set of trigrams is
-   <literal>{"  t"," tw",two,"wo ","  w"," wo","wor","ord","rds", ds "}</literal>.
+   <literal>{"  t"," tw","two","wo ","  w"," wo","wor","ord","rds","ds "}</literal>.
    The most similar extent of an ordered set of trigrams in the second string
    is <literal>{"  w"," wo","wor","ord"}</literal>, and the similarity is
    <literal>0.8</literal>.
    greatest similarity between the first string and any substring of the second
    string.  However, this function does not add padding to the boundaries of
    the extent.  Thus, the number of additional characters present in the
-   second string is not considered, except for the mismatched word boundry.
+   second string is not considered, except for the mismatched word boundries.
   </para>
 
   <table id="pgtrgm-op-table">