summaryrefslogtreecommitdiff
path: root/contrib/pg_trgm/trgm.h
diff options
context:
space:
mode:
authorTeodor Sigaev2016-03-16 14:44:58 +0000
committerTeodor Sigaev2016-03-16 14:44:58 +0000
commit5871b88487cfd07966e2ce08609a4d6d5ee9718e (patch)
tree98a15fc57482f770d710cd3e73894606c1879c66 /contrib/pg_trgm/trgm.h
parentf9e5ed61ed1e27390051e8eb10bd9ec4cb40d7b2 (diff)
GUC variable pg_trgm.similarity_threshold insead of set_limit()
Use GUC variable pg_trgm.similarity_threshold insead of set_limit()/show_limit() which was introduced when defining GUC varuables by modules was absent. Author: Artur Zakirov
Diffstat (limited to 'contrib/pg_trgm/trgm.h')
-rw-r--r--contrib/pg_trgm/trgm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_trgm/trgm.h b/contrib/pg_trgm/trgm.h
index f030558088c..046cf58e134 100644
--- a/contrib/pg_trgm/trgm.h
+++ b/contrib/pg_trgm/trgm.h
@@ -105,7 +105,7 @@ typedef char *BITVECP;
typedef struct TrgmPackedGraph TrgmPackedGraph;
-extern float4 trgm_limit;
+extern double similarity_threshold;
extern uint32 trgm2int(trgm *ptr);
extern void compact_trigram(trgm *tptr, char *str, int bytelen);