From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Jeff Davis <pgsql@j-davis.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Use ICU by default at initdb time.
Date: Fri, 10 Mar 2023 15:48:07 +0100
Message-ID: <ebe9a63f-d4c6-7553-1e58-7dd80a11c1c1@enterprisedb.com> (raw)
In-Reply-To: <dbda1a9137aeab0f441104f212696b1c2d50d5f1.camel@j-davis.com>
References: <E1paLfy-002jGI-D8@gemulon.postgresql.org>
<d191d5841347301a8f1238f609471ddd957fc47e.camel@j-davis.com>
<dab5ce1a-0f1d-38cd-1cb4-f2b0b2d229e0@enterprisedb.com>
<dbda1a9137aeab0f441104f212696b1c2d50d5f1.camel@j-davis.com>
On 10.03.23 15:38, Jeff Davis wrote:
> On Fri, 2023-03-10 at 10:59 +0100, Peter Eisentraut wrote:
>> I think originally the locale forced the encoding. With ICU, we have
>> a
>> choice. We could either stick to the encoding suggested by the OS,
>> or
>> pick our own.
>
> We still need LC_COLLATE and LC_CTYPE to match the database encoding
> though. If we get those from the environment (which are connected to an
> encoding), then I think we need to get the encoding from the
> environment, too, right?
Yes, of course. So we can't really do what I was thinking of.
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-committers@postgresql.org
Cc: peter.eisentraut@enterprisedb.com, pgsql@j-davis.com, pgsql-hackers@postgresql.org
Subject: Re: pgsql: Use ICU by default at initdb time.
In-Reply-To: <ebe9a63f-d4c6-7553-1e58-7dd80a11c1c1@enterprisedb.com>
References: <E1paLfy-002jGI-D8@gemulon.postgresql.org> <d191d5841347301a8f1238f609471ddd957fc47e.camel@j-davis.com> <dab5ce1a-0f1d-38cd-1cb4-f2b0b2d229e0@enterprisedb.com> <dbda1a9137aeab0f441104f212696b1c2d50d5f1.camel@j-davis.com> <ebe9a63f-d4c6-7553-1e58-7dd80a11c1c1@enterprisedb.com>
* 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