From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Allow multi-character source strings in contrib/unaccent. |
Date: | 2014-07-01 01:46:33 |
Message-ID: | E1X1n9V-0003RB-07@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-07-01 02:03:46 | pgsql: Issue a WARNING about invalid rule file format in contrib/unacce |
Previous Message | Tom Lane | 2014-07-01 00:51:53 | pgsql: Allow empty replacement strings in contrib/unaccent. |