From 38ab95f70329979c54dff619e541ed339b88cde1 Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Wed, 26 Jan 2005 08:20:40 +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 3dc2888f40a..8664d88c60d 100644 --- a/contrib/fuzzystrmatch/fuzzystrmatch.sql.in +++ b/contrib/fuzzystrmatch/fuzzystrmatch.sql.in @@ -19,4 +19,4 @@ LANGUAGE 'C' WITH (iscachable, isstrict); CREATE FUNCTION text_soundex(text) RETURNS text AS 'MODULE_PATHNAME', 'soundex' -LANGUAGE 'C'; +LANGUAGE 'C' WITH (iscachable, isstrict);