summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorAlexander Korotkov2019-06-10 16:38:13 +0000
committerAlexander Korotkov2019-06-10 17:27:48 +0000
commit97c9ea17fbcaaf89033002189f6b0aba6ad3179d (patch)
tree16f32e9f8b74cc8c4643085b9b9356b6a20f4ac2 /doc/src
parentabfbdb25ec2ac65390403bf118916d4568d0e73a (diff)
Add docs of missing GUC to pgtrgm.sgml
be8a7a68 introduced pg_trgm.strict_word_similarity_threshold GUC, but missed docs for that. This commit fixes that. Discussion: https://postgr.es/m/fc907f70-448e-fda3-3aa4-209a59597af0%402ndquadrant.com Author: Ian Barwick Reviewed-by: Masahiko Sawada, Michael Paquier Backpatch-through: 9.6
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/pgtrgm.sgml19
1 files changed, 18 insertions, 1 deletions
diff --git a/doc/src/sgml/pgtrgm.sgml b/doc/src/sgml/pgtrgm.sgml
index 44cc1f4c7c5..9f9482ef273 100644
--- a/doc/src/sgml/pgtrgm.sgml
+++ b/doc/src/sgml/pgtrgm.sgml
@@ -257,12 +257,29 @@
</term>
<listitem>
<para>
- Sets the current word similarity threshold that is used by
+ Sets the current word similarity threshold that is used by the
<literal>&lt;%</> and <literal>%&gt;</> operators. The threshold
must be between 0 and 1 (default is 0.6).
</para>
</listitem>
</varlistentry>
+ <varlistentry id="guc-pgtrgm-strict-word-similarity-threshold" xreflabel="pg_trgm.strict_word_similarity_threshold">
+ <term>
+ <varname>pg_trgm.strict_word_similarity_threshold</varname> (<type>real</type>)
+ <indexterm>
+ <primary>
+ <varname>pg_trgm.strict_word_similarity_threshold</varname> configuration parameter
+ </primary>
+ </indexterm>
+ </term>
+ <listitem>
+ <para>
+ Sets the current strict word similarity threshold that is used by the
+ <literal>&lt;&lt;%</literal> and <literal>%&gt;&gt;</literal> operators. The threshold
+ must be between 0 and 1 (default is 0.5).
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</sect2>