RefLib

Reference library for AI

Back

postgresql_16:9.6.35.3 GUC Parameters

PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > pg_trgm — support for similarity of text using trigram matching > GUC Parameters

pg_trgm.similarity_threshold (real)

Sets the current similarity threshold that is used by the % operator. The threshold must be between 0 and 1 (default is 0.3).

pg_trgm.word_similarity_threshold (real)

Sets the current word similarity threshold that is used by the <% and %> operators. The threshold must be between 0 and 1 (default is 0.6).

pg_trgm.strict_word_similarity_threshold (real)

Sets the current strict word similarity threshold that is used by the <<% and %>> operators. The threshold must be between 0 and 1 (default is 0.5).

Back