On Thu, Jul 19, 2018 at 9:44 AM, Peter Geoghegan <pg(at)bowt(dot)ie> wrote: > It appears that the main support function 1 routine disagrees with the > CREATE INDEX sort order, which is wrong. I'll try to isolate the > problem a bit further.
As far as I can tell, this is an ICU bug. ucol_strcollUTF8() is buggy with this digitslast collation, which ucol_nextSortKeyPart() fails to be bug-compatible with. Other similar customized collations (e.g. 'en-u-kf-upper') work fine. (Ugh, that's familiar in an unpleasant way.)
I'm using libicu60. What version are you using, Roman?