From db78e53fac8251f446d1ecf49c8c81c240c1381e Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Wed, 26 Jan 2005 08:10:08 +0000 Subject: [PATCH] Mark the text_soundex() function as "strict", to avoid crashing on NULL input. Also, may as well mark it "cacheable" as well. From Kris Jurka. --- contrib/fuzzystrmatch/fuzzystrmatch.sql.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/fuzzystrmatch/fuzzystrmatch.sql.in b/contrib/fuzzystrmatch/fuzzystrmatch.sql.in index c548b8ba9f2..36f0a06d445 100644 --- a/contrib/fuzzystrmatch/fuzzystrmatch.sql.in +++ b/contrib/fuzzystrmatch/fuzzystrmatch.sql.in @@ -17,4 +17,4 @@ LANGUAGE 'C' WITH (iscachable, isstrict); CREATE FUNCTION text_soundex(text) RETURNS text AS 'MODULE_PATHNAME', 'soundex' -LANGUAGE 'C'; +LANGUAGE 'C' WITH (iscachable, isstrict); -- 2.39.5