mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
The attached patch implements the soundex difference function which
compares two strings' soundex values for similarity, from Kris Jurka. Also mark the text_soundex() function as STRICT, to avoid crashing on NULL input.
This commit is contained in:
@ -60,6 +60,7 @@
|
||||
extern Datum levenshtein(PG_FUNCTION_ARGS);
|
||||
extern Datum metaphone(PG_FUNCTION_ARGS);
|
||||
extern Datum soundex(PG_FUNCTION_ARGS);
|
||||
extern Datum difference(PG_FUNCTION_ARGS);
|
||||
|
||||
/*
|
||||
* Soundex
|
||||
|
Reference in New Issue
Block a user