Re: pgsql: Use ICU by default at initdb time. - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pgsql: Use ICU by default at initdb time.
Date
Msg-id dab5ce1a-0f1d-38cd-1cb4-f2b0b2d229e0@enterprisedb.com
Whole thread Raw
Responses Re: pgsql: Use ICU by default at initdb time.
List pgsql-hackers
On 10.03.23 03:26, Jeff Davis wrote:
> That's because ICU always uses UTF-8 by default. ICU works just fine
> with many other encodings; is there a reason it doesn't take it from
> the environment just like for provider=libc?

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.

Arguably, if we are going to nudge toward ICU, maybe we should nudge 
toward UTF-8 as well.




pgsql-hackers by date:

Previous
From: Önder Kalacı
Date:
Subject: Re: [PATCH] Use indexes on the subscriber when REPLICA IDENTITY is full on the publisher
Next
From: John Naylor
Date:
Subject: Re: logical decoding and replication of sequences, take 2