Re: Update list of combining characters - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Update list of combining characters
Date
Msg-id 20190613135221.GA32253@alvherre.pgsql
Whole thread Raw
In response to Update list of combining characters  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: Update list of combining characters
List pgsql-hackers
I think there's an off-by-one bug in your script.  I picked one value at
random to verify -- 0x0BC0.  Old:

> -        {0x0BC0, 0x0BC0}, {0x0BCD, 0x0BCD}, {0x0C3E, 0x0C40},

New:

> +        {0x0BC0, 0x0BC1}, {0x0BCD, 0x0BD0}, {0x0C00, 0x0C01},

the UCD file has:

0BC0;TAMIL VOWEL SIGN II;Mn;0;NSM;;;;;N;;;;;
0BC1;TAMIL VOWEL SIGN U;Mc;0;L;;;;;N;;;;;

0BCD;TAMIL SIGN VIRAMA;Mn;9;NSM;;;;;N;;;;;
0BD0;TAMIL OM;Lo;0;L;;;;;N;;;;;

So it appears that the inclusion of both 0x0BC1 and 0x0BD0 are mistakes.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Oleksii Kliukin
Date:
Subject: Re: upgrades in row-level locks can deadlock
Next
From: Thom Brown
Date:
Subject: SQL/JSON path issues/questions