Allow multi-character source strings in contrib/unaccent.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Jul 2014 01:46:29 +0000 (21:46 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Jul 2014 01:46:29 +0000 (21:46 -0400)
commit1b2488731cc2c87cc9a4cb8d654e4d9981fdf9ac
tree45cbe297cbcfcdd475193642056484e7c49c4dbe
parent97c40ce61465582b96944e41ed6ec06c2016b95c
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.
contrib/unaccent/unaccent.c
doc/src/sgml/unaccent.sgml