Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter
Дата
в 12:20:48
Msg-id
20190515122048.GA12876@alvherre.pgsql
Ответ на
Список
Дерево обсуждения
BUG #15805: Problem with lower function for greek sigma (Σ) letter PG Bug reporting form <noreply@postgresql.org>
Re: BUG #15805: Problem with lower function for greek sigma(Σ) letter "Daniel Verite" <daniel@manitou-mail.org>
Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter Daniel Gustafsson <daniel@yesql.se>
Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter Daniel Gustafsson <daniel@yesql.se>
Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter Daniel Gustafsson <daniel@yesql.se>
Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter Alvaro Herrera <alvherre@2ndquadrant.com>
On 2019-May-15, Daniel Gustafsson wrote:

> > I see unexpected behaviour of lower function for greek sigma letter Σ.
> > According to wikipedia (https://en.wikipedia.org/wiki/Sigma) if this letter
> > is in final word position, it should be ς in lowercase, and not σ. But
> > PotgreSQL lower function returns σ, for example lower('ΔΗΜΟΤΕΣ ΦΑΙΣΤΟΥ') =
> > "δημοτεσ φαιστου" instead of "δημοτες φαιστου". So if I try to pass this
> > lower string from another part of a system (java code, for example) Postgre
> > will not return this row cause it differs from java-generated one.
> 
> This is indeed a bug, and a rare occurrence since AFAICT from ISO 30112 and
> googling there is only a single case of word-final lowercasing which is this
> sigma. The attached patch takes a stab at fixing this.

Ummm ... isn't this a counterexample?
https://hebrew4christians.com/Grammar/Unit_One/Final_Forms/final_forms.html

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


В списке pgsql-bugs по дате отправления
От: Daniel Gustafsson
Дата:
От: Tom Lane
Дата:
FAQ