There is a soundex function in contrib/soundex/ ... regards, tom lane
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных