postgresql/contrib/fuzzystrmatch/fuzzystrmatch--1.1--1.2.sql
Tom Lane a290378a37 Add support for Daitch-Mokotoff Soundex in contrib/fuzzystrmatch.
This modernized version of Soundex works significantly better than
the original, particularly for non-English names.

Dag Lem, reviewed by quite a few people along the way

Discussion: https://postgr.es/m/yger1atbgfy.fsf@sid.nimrod.no
2023-04-07 17:32:26 -04:00

9 lines
351 B
SQL

/* contrib/fuzzystrmatch/fuzzystrmatch--1.1--1.2.sql */
-- complain if script is sourced in psql, rather than via ALTER EXTENSION
\echo Use "ALTER EXTENSION fuzzystrmatch UPDATE TO '1.2'" to load this file. \quit
CREATE FUNCTION daitch_mokotoff(text) RETURNS text[]
AS 'MODULE_PATHNAME', 'daitch_mokotoff'
LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;