pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Verite <daniel@manitou-mail.org>
Cc: iksss.88@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter
Date: Wed, 15 May 2019 11:46:29 -0400
Message-ID: <13376.1557935189@sss.pgh.pa.us> (raw)
In-Reply-To: <5d80ac2d-3f1f-4d60-88a8-5602eb9978a3@manitou-mail.org>
References: <5d80ac2d-3f1f-4d60-88a8-5602eb9978a3@manitou-mail.org>

"Daniel Verite" <daniel@manitou-mail.org> writes:
> 	PG Bug reporting form wrote:
>> lower('ΔΗΜΟΤΕΣ ΦΑΙΣΤΟΥ') =
>> "δημοτεσ φαιστου" instead of "δημοτες φαιστου"

> With PostgreSQL version 10 or newer, you could use an ICU
> locale. lower() would produce the expected result:

Oh, if using ICU already fixes this, I think we might as well just
say that you have to use ICU if you want the right behavior for such
cases.

> The libc library provides an API with character-by-character
> case conversions (tolower/toupper), which is too limited
> to deal with the above cases, and PostgreSQL basically
> just uses this API.

Right.

			regards, tom lane





view thread (9+ messages)  latest in thread

Message-ID: <13376.1557935189@sss.pgh.pa.us>
Permalink:  ../13376.1557935189@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13376.1557935189@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, daniel@manitou-mail.org, iksss.88@gmail.com
  Subject: Re: BUG #15805: Problem with lower function for greek sigma (Σ) letter
  In-Reply-To: <13376.1557935189@sss.pgh.pa.us>
  References: <5d80ac2d-3f1f-4d60-88a8-5602eb9978a3@manitou-mail.org> <13376.1557935189@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox