diff options
author | Neil Conway | 2005-01-26 08:25:46 +0000 |
---|---|---|
committer | Neil Conway | 2005-01-26 08:25:46 +0000 |
commit | 13fab5b3ad6a9b1de1906f3732f3b9e264dff77a (patch) | |
tree | 06f00f702f74ae5a67cdd2c539bf46b4fd53cb97 | |
parent | ae5b7a0c5b0f7479b40d61a59b8141335d449e87 (diff) |
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.
-rw-r--r-- | contrib/fuzzystrmatch/fuzzystrmatch.sql.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fuzzystrmatch/fuzzystrmatch.sql.in b/contrib/fuzzystrmatch/fuzzystrmatch.sql.in index b02f1b28ebc..004711f62e7 100644 --- a/contrib/fuzzystrmatch/fuzzystrmatch.sql.in +++ b/contrib/fuzzystrmatch/fuzzystrmatch.sql.in @@ -8,4 +8,4 @@ CREATE FUNCTION soundex(text) RETURNS text AS 'MODULE_PATHNAME', 'soundex' LANGUAGE 'c' with (iscachable, isstrict); CREATE FUNCTION text_soundex(text) RETURNS text - AS 'MODULE_PATHNAME', 'soundex' LANGUAGE 'c'; + AS 'MODULE_PATHNAME', 'soundex' LANGUAGE 'c' with (iscachable, isstrict); |