pgsql: Allow multi-character source strings in contrib/unaccent.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Allow multi-character source strings in contrib/unaccent.
Дата
Msg-id E1X1n9V-0003RB-07@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Allow multi-character source strings in contrib/unaccent.

This could be useful in languages where diacritic signs are represented as
separate characters; more generally it supports using unaccent dictionaries
for substring substitutions beyond narrowly conceived "diacritic removal".
In any case, since the rule-file parser doesn't complain about
multi-character source strings, it behooves us to do something unsurprising
with them.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1b2488731cc2c87cc9a4cb8d654e4d9981fdf9ac

Modified Files
--------------
contrib/unaccent/unaccent.c |   91 ++++++++++++++++++++++++++++---------------
doc/src/sgml/unaccent.sgml  |    8 ++++
2 files changed, 67 insertions(+), 32 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Allow empty replacement strings in contrib/unaccent.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Issue a WARNING about invalid rule file format in contrib/unacce