The attached patch implements the soundex difference function which
Neil Conway <neilc@samurai.com>
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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/fuzzystrmatch/fuzzystrmatch.c | modified | +20 −0 |
| contrib/fuzzystrmatch/fuzzystrmatch.h | modified | +1 −0 |
| contrib/fuzzystrmatch/fuzzystrmatch.sql.in | modified | +14 −12 |
| contrib/fuzzystrmatch/README.fuzzystrmatch | modified | +4 −0 |
| contrib/fuzzystrmatch/README.soundex | modified | +17 −2 |