Re: Issues with german locale on CentOS 5,6,7

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>
Cc: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, Bernd Helmle <mailings(at)oopsware(dot)de>, PGSQL Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Issues with german locale on CentOS 5,6,7
Date: 2015-10-08 03:39:16
Message-ID: 2471.1444275556@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com> writes:
> I think we should bite the bullet and adopt ICU,

I see absolutely nothing to recommend that course of action. Reasons not
to:

1. Being compatible with the operating system's collation behavior is a
feature, not a bug. If nothing else, it allows us to tell people that
if we sort data the same way that sort(1) does, then it's not a bug that
we're not sorting the way they think we should. But quite aside from
that, there are practical uses to being compatible with other tools.

2. Last I checked, ICU *only* supports Unicode, and not only that, but
only UTF16. This is a non-starter; not only for our Far Eastern users,
but also those who find various LatinX encodings sufficient. ICU would be
a functional fail for the former and a performance fail for the latter.

3. As Thomas Munro already noted, whatcha gonna do when ICU changes their
collations? Or are their collations graven on stone tablets, unlike
anyone else's?

We certainly could stand to put some work into the problem of coping with
collation changes. But claiming that ICU is the solution, or even a
solution, seems obviously wrong.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Geoghegan 2015-10-08 03:40:34 Re: Issues with german locale on CentOS 5,6,7
Previous Message Thomas Munro 2015-10-08 03:06:07 Re: Issues with german locale on CentOS 5,6,7