]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Mark the text_soundex() function as "strict", to avoid crashing on NULL
authorNeil Conway <neilc@samurai.com>
Wed, 26 Jan 2005 08:20:40 +0000 (08:20 +0000)
committerNeil Conway <neilc@samurai.com>
Wed, 26 Jan 2005 08:20:40 +0000 (08:20 +0000)
input. Also, may as well mark it "cacheable" as well. From Kris Jurka.

contrib/fuzzystrmatch/fuzzystrmatch.sql.in

index 3dc2888f40a7e5ba2f86e08577f4678d8190aa37..8664d88c60d557327d9669dbd67b868565171dbb 100644 (file)
@@ -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);