Skip to content

Commit 9ee98cc

Browse files
committed
Add docs of missing GUC to pgtrgm.sgml
be8a7a6 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
1 parent 7c2122f commit 9ee98cc

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

doc/src/sgml/pgtrgm.sgml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,12 +257,29 @@
257257
</term>
258258
<listitem>
259259
<para>
260-
Sets the current word similarity threshold that is used by
260+
Sets the current word similarity threshold that is used by the
261261
<literal>&lt;%</> and <literal>%&gt;</> operators. The threshold
262262
must be between 0 and 1 (default is 0.6).
263263
</para>
264264
</listitem>
265265
</varlistentry>
266+
<varlistentry id="guc-pgtrgm-strict-word-similarity-threshold" xreflabel="pg_trgm.strict_word_similarity_threshold">
267+
<term>
268+
<varname>pg_trgm.strict_word_similarity_threshold</varname> (<type>real</type>)
269+
<indexterm>
270+
<primary>
271+
<varname>pg_trgm.strict_word_similarity_threshold</varname> configuration parameter
272+
</primary>
273+
</indexterm>
274+
</term>
275+
<listitem>
276+
<para>
277+
Sets the current strict word similarity threshold that is used by the
278+
<literal>&lt;&lt;%</literal> and <literal>%&gt;&gt;</literal> operators. The threshold
279+
must be between 0 and 1 (default is 0.5).
280+
</para>
281+
</listitem>
282+
</varlistentry>
266283
</variablelist>
267284
</sect2>
268285

0 commit comments

Comments
 (0)