summaryrefslogtreecommitdiff
path: root/contrib/fuzzystrmatch/fuzzystrmatch.sql.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/fuzzystrmatch/fuzzystrmatch.sql.in')
-rw-r--r--contrib/fuzzystrmatch/fuzzystrmatch.sql.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/fuzzystrmatch/fuzzystrmatch.sql.in b/contrib/fuzzystrmatch/fuzzystrmatch.sql.in
new file mode 100644
index 0000000000..4125b75d14
--- /dev/null
+++ b/contrib/fuzzystrmatch/fuzzystrmatch.sql.in
@@ -0,0 +1,5 @@
+CREATE FUNCTION levenshtein (text,text) RETURNS int
+ AS 'MODULE_PATHNAME','levenshtein' LANGUAGE 'c' with (iscachable, isstrict);
+
+CREATE FUNCTION metaphone (text,int) RETURNS text
+ AS 'MODULE_PATHNAME','metaphone' LANGUAGE 'c' with (iscachable, isstrict);