mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-07 12:20:31 +01:00
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:
parent
ae5b7a0c5b
commit
13fab5b3ad
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user