mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-26 20:37:19 +02:00
be able to apply against what you just committed. It rolls soundex into fuzzystrmatch. Remove soundex/metaphone and merge into fuzzystrmatch. Joe Conway
12 lines
476 B
MySQL
12 lines
476 B
MySQL
CREATE FUNCTION levenshtein (text,text) RETURNS int
|
|
AS 'MODULE_PATHNAME','levenshtein' LANGUAGE 'c' with (iscachable, isstrict);
|
|
|
|
CREATE FUNCTION metaphone (text,int) RETURNS text
|
|
AS 'MODULE_PATHNAME','metaphone' LANGUAGE 'c' with (iscachable, isstrict);
|
|
|
|
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';
|