aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2019-06-10 19:38:13 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2019-06-10 19:42:36 +0300
commitba3783e0244e3502d1b08896ffc72b3a88dbdb83 (patch)
tree9dea3ee8b5864bb3cfb35aceb9a57584fe647be3 /doc/src
parent852ddfbbe2121c905f2ecd750b1ec4cbfbea9f76 (diff)
downloadpostgresql-ba3783e0244e3502d1b08896ffc72b3a88dbdb83.tar.gz
postgresql-ba3783e0244e3502d1b08896ffc72b3a88dbdb83.zip
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 e353ecc9547..3e6fd7395fb 100644
--- a/doc/src/sgml/pgtrgm.sgml
+++ b/doc/src/sgml/pgtrgm.sgml
@@ -331,12 +331,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;%</literal> and <literal>%&gt;</literal> 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>