Abhijit Menon-Sen <a...@2ndquadrant.com> writes: > At 2014-06-30 15:19:17 -0400, t...@sss.pgh.pa.us wrote: >> Anyway, this raises the question of whether the current patch is >> actually a desirable way to do things, or whether it would be better >> if the unaccenting rules were like "base-char accent-char" -> >> "base-char".
> It might be useful to be able to write such rules, but it would be > highly impractical to do so instead of being able to single out > accent-chars for removal. On reflection, if we were thinking of this as a general substring-replacement mechanism rather than just a de-accenter (and why shouldn't we think of it that way?), then clearly both multi-character source strings and zero-character substitute strings could be of value. The fact that the existing patch only fixes one of those omissions isn't a strike against it. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers