From 1b2488731cc2c87cc9a4cb8d654e4d9981fdf9ac Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 30 Jun 2014 21:46:29 -0400 Subject: 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. --- doc/src/sgml/unaccent.sgml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/unaccent.sgml b/doc/src/sgml/unaccent.sgml index aef0031dcbc..1382fafc5ec 100644 --- a/doc/src/sgml/unaccent.sgml +++ b/doc/src/sgml/unaccent.sgml @@ -70,6 +70,14 @@ + + + Actually, each character can be any string not containing + whitespace, so unaccent dictionaries could be used for + other sorts of substring substitutions besides diacritic removal. + + + As with other PostgreSQL text search configuration files, -- cgit v1.2.3