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.
This commit is contained in:
Neil Conway 2005-01-26 08:20:40 +00:00
parent a23133a4d7
commit 38ab95f703
1 changed files with 1 additions and 1 deletions

View 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);