Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit993b5a7

Browse files
committed
doc: correct syntax of pgtrgm examples in older releases
Reported-by: Liudmila MantrovaDiscussion:https://postgr.es/m/ded40ecb-557e-8c50-7d58-69f4b5226664@postgrespro.ruBackpatch-through: 9.6 and 10 only
1 parent474d810 commit993b5a7

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 wordboundry.
157+
second string is not considered, except for the mismatched wordboundries.
158158
</para>
159159

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp