8000 Mark the text_soundex() function as "strict", to avoid crashing on NULL · larkly/postgres-docker@13fab5b · GitHub
[go: up one dir, main page]

Skip to content

Commit 13fab5b

Browse files
author
Neil Conway
committed
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.
1 parent ae5b7a0 commit 13fab5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/fuzzystrmatch/fuzzystrmatch.sql.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ CREATE FUNCTION soundex(text) RETURNS text
88
AS 'MODULE_PATHNAME', 'soundex' LANGUAGE 'c' with (iscachable, isstrict);
99

1010
CREATE FUNCTION text_soundex(text) RETURNS text
11-
AS 'MODULE_PATHNAME', 'soundex' LANGUAGE 'c';
11+
AS 'MODULE_PATHNAME', 'soundex' LANGUAGE 'c' with (iscachable, isstrict);

0 commit comments

Comme 315C nts
 (0)
0