mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +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:
@ -33,6 +33,10 @@
|
||||
* Folded existing soundex contrib into this one. Renamed text_soundex() (C function)
|
||||
* to soundex() for consistency.
|
||||
*
|
||||
* difference()
|
||||
* ------------
|
||||
* Return the difference between two strings' soundex values. Kris Jurka
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software and its
|
||||
* documentation for any purpose, without fee, and without a written agreement
|
||||
* is hereby granted, provided that the above copyright notice and this
|
||||
|
Reference in New Issue
Block a user