summaryrefslogtreecommitdiff
path: root/contrib/pg_trgm
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-05-30 22:12:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-05-30 22:12:16 +0000
commita0ffab351e2dca12200e95c45f6edf5ddebe78b0 (patch)
tree905fee345f116de536f72d8ff8507d093646d717 /contrib/pg_trgm
parente95703eac3199a389cfeace07545ee10430193a8 (diff)
downloadpostgresql-a0ffab351e2dca12200e95c45f6edf5ddebe78b0.tar.gz
Magic blocks don't do us any good unless we use 'em ... so install one
in every shared library.
Diffstat (limited to 'contrib/pg_trgm')
-rw-r--r--contrib/pg_trgm/trgm_op.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/pg_trgm/trgm_op.c b/contrib/pg_trgm/trgm_op.c
index b7043c1b8c..2869033932 100644
--- a/contrib/pg_trgm/trgm_op.c
+++ b/contrib/pg_trgm/trgm_op.c
@@ -3,6 +3,8 @@
#include "utils/array.h"
#include "catalog/pg_type.h"
+PG_MODULE_MAGIC;
+
float4 trgm_limit = 0.3;
PG_FUNCTION_INFO_V1(set_limit);