projects
/
postgresql.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae5b7a0
)
Mark the text_soundex() function as "strict", to avoid crashing on NULL
author
Neil Conway
<neilc@samurai.com>
Wed, 26 Jan 2005 08:25:46 +0000
(08:25 +0000)
committer
Neil Conway
<neilc@samurai.com>
Wed, 26 Jan 2005 08:25:46 +0000
(08:25 +0000)
input. Also, may as well mark it "cacheable" as well. From Kris Jurka.
contrib/fuzzystrmatch/fuzzystrmatch.sql.in
patch
|
blob
|
blame
|
history
diff --git
a/contrib/fuzzystrmatch/fuzzystrmatch.sql.in
b/contrib/fuzzystrmatch/fuzzystrmatch.sql.in
index b02f1b28ebc278456c207566223531b3fc5d8db2..004711f62e7f8808782d45fe1d9d143a6399b2cf 100644
(file)
--- 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)
;