From c2ea62f58575045bd85156581f55b57067f33fd8 Mon Sep 17 00:00:00 2001
From: Bruce Momjian
Date: Sat, 25 Aug 2018 15:03:32 -0400
Subject: 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
---
doc/src/sgml/pgtrgm.sgml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'doc/src')
diff --git a/doc/src/sgml/pgtrgm.sgml b/doc/src/sgml/pgtrgm.sgml
index 350da77104e..8e50f795013 100644
--- a/doc/src/sgml/pgtrgm.sgml
+++ b/doc/src/sgml/pgtrgm.sgml
@@ -143,7 +143,7 @@
In the first string, the set of trigrams is
{" w"," wo","ord","wor","rd "}.
In the second string, the ordered set of trigrams is
- {" t"," tw",two,"wo "," w"," wo","wor","ord","rds", ds "}.
+ {" t"," tw","two","wo "," w"," wo","wor","ord","rds","ds "}.
The most similar extent of an ordered set of trigrams in the second string
is {" w"," wo","wor","ord"}, and the similarity is
0.8.
@@ -154,7 +154,7 @@
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.