Re: new environment variable INITDB_LOCALE_PROVIDER

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: new environment variable INITDB_LOCALE_PROVIDER
Date: 2025-10-17 15:04:42
Message-ID: 8ac6671d-f554-43de-9ab1-27125bc57ba2@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 14.10.25 22:45, Jeff Davis wrote:
> If you think we can change the initdb default without introducing an
> environment variable, then perhaps we don't need v3-0002. What do you
> think about v3-0001?

I think in general it could make sense to do something like

+#define DEFAULT_BUILTIN_LOCALE "C.UTF-8"
+#define DEFAULT_ICU_LOCALE "und"

But that patch adds a nontrivial amount of new logic and contains no
documentation, and some of the additional information is spread over
other threads, so I don't have the whole picture.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2025-10-17 15:23:22 Re: Change initdb default to the builtin collation provider
Previous Message Tom Lane 2025-10-17 14:49:28 Re: Getting the SQLSTATE after a failed connection