]> granicus.if.org Git - postgresql/commit
Allow empty replacement strings in contrib/unaccent.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Jul 2014 00:51:26 +0000 (20:51 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Jul 2014 00:51:30 +0000 (20:51 -0400)
commit97c40ce61465582b96944e41ed6ec06c2016b95c
tree16f8fc36e2d2ae810f2e5ecba457b69826944298
parent55863274d98556acf57013f64f545d9a1e640bba
Allow empty replacement strings in contrib/unaccent.

This is useful in languages where diacritic signs are represented as
separate characters; it's also one step towards letting unaccent be used
for arbitrary substring substitutions.

In passing, improve the user documentation for unaccent, which was sadly
vague about some important details.

Mohammad Alhashash, reviewed by Abhijit Menon-Sen
contrib/unaccent/unaccent.c
doc/src/sgml/unaccent.sgml