Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c2ea62f

Browse files
committed
doc: correct syntax of pgtrgm examples in older releases
Reported-by: Liudmila Mantrova Discussion: https://postgr.es/m/ded40ecb-557e-8c50-7d58-69f4b5226664@postgrespro.ru Backpatch-through: 9.6 and 10 only
1 parent 50ff884 commit c2ea62f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/pgtrgm.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
In the first string, the set of trigrams is
144144
<literal>{" w"," wo","ord","wor","rd "}</literal>.
145145
In the second string, the ordered set of trigrams is
146-
<literal>{" t"," tw",two,"wo "," w"," wo","wor","ord","rds", ds "}</literal>.
146+
<literal>{" t"," tw","two","wo "," w"," wo","wor","ord","rds","ds "}</literal>.
147147
The most similar extent of an ordered set of trigrams in the second string
148148
is <literal>{" w"," wo","wor","ord"}</literal>, and the similarity is
149149
<literal>0.8</literal>.
@@ -154,7 +154,7 @@
154154
greatest similarity between the first string and any substring of the second
155155
string. However, this function does not add padding to the boundaries of
156156
the extent. Thus, the number of additional characters present in the
157-
second string is not considered, except for the mismatched word boundry.
157+
second string is not considered, except for the mismatched word boundries.
158158
</para>
159159

160160
<table id="pgtrgm-op-table">

0 commit comments

Comments
 (0)