mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
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.
This commit is contained in:
@@ -70,6 +70,14 @@
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Actually, each <quote>character</> can be any string not containing
|
||||
whitespace, so <filename>unaccent</> dictionaries could be used for
|
||||
other sorts of substring substitutions besides diacritic removal.
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
As with other <productname>PostgreSQL</> text search configuration files,
|
||||
|
||||
Reference in New Issue
Block a user