From c0edc53a3693e2c7556457e4f9e05d68c7d1f739 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat, 14 Sep 2002 19:56:01 +0000
Subject: [PATCH] The attached adds GRANTs to PUBLIC for
 contrib/fuzzystringmatch.

Joe Conway
---
 contrib/fuzzystrmatch/fuzzystrmatch.sql.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/contrib/fuzzystrmatch/fuzzystrmatch.sql.in b/contrib/fuzzystrmatch/fuzzystrmatch.sql.in
index b02f1b28ebc..0be715bac7e 100644
--- a/contrib/fuzzystrmatch/fuzzystrmatch.sql.in
+++ b/contrib/fuzzystrmatch/fuzzystrmatch.sql.in
@@ -9,3 +9,8 @@ CREATE FUNCTION soundex(text) RETURNS text
 
 CREATE FUNCTION text_soundex(text) RETURNS text
   AS 'MODULE_PATHNAME', 'soundex' LANGUAGE 'c';
+
+GRANT EXECUTE ON FUNCTION levenshtein (text,text) TO PUBLIC;
+GRANT EXECUTE ON FUNCTION metaphone (text,int) TO PUBLIC;
+GRANT EXECUTE ON FUNCTION soundex(text) TO PUBLIC;
+GRANT EXECUTE ON FUNCTION text_soundex(text) TO PUBLIC;
-- 
GitLab