Re: doc: pg_trgm missing description for GUC "pg_trgm.strict_word_similarity_threshold" - Mailing list pgsql-hackers

From Masahiko Sawada
Subject Re: doc: pg_trgm missing description for GUC "pg_trgm.strict_word_similarity_threshold"
Date
Msg-id CAD21AoAgPKODUsu9gqUFiNqEOAqedStxJ-a0sapsJXWWAVp=xg@mail.gmail.com
Whole thread Raw
In response to doc: pg_trgm missing description for GUC"pg_trgm.strict_word_similarity_threshold"  (Ian Barwick <ian.barwick@2ndquadrant.com>)
Responses Re: doc: pg_trgm missing description for GUC"pg_trgm.strict_word_similarity_threshold"
List pgsql-hackers
On Thu, Jun 6, 2019 at 10:19 PM Ian Barwick <ian.barwick@2ndquadrant.com> wrote:
>
> Hi
>
> Commit be8a7a68662 added custom GUC "pg_trgm.strict_word_similarity_threshold",
> but omitted to document this in the section "GUC Parameters";

Indeed.

BTW while looking GUC variables defined in trgm_op.c the operators in
each short description seems not correct; there is an extra percent
sign. Should we also fix them?

postgres(1:43133)=# select name, short_desc from pg_settings where
name like 'pg_trgm%';
                   name                   |                  short_desc
------------------------------------------+-----------------------------------------------
 pg_trgm.similarity_threshold             | Sets the threshold used by
the %% operator.
 pg_trgm.strict_word_similarity_threshold | Sets the threshold used by
the <<%% operator.
 pg_trgm.word_similarity_threshold        | Sets the threshold used by
the <%% operator.

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Small review comment on pg_checksums
Next
From: Amit Langote
Date:
Subject: Re: Should we warn against using too many partitions?