Commit ba3783e0 authored by Alexander Korotkov's avatar Alexander Korotkov

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
parent 852ddfbb
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment