Re: new environment variable INITDB_LOCALE_PROVIDER

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: new environment variable INITDB_LOCALE_PROVIDER
Дата
Msg-id 1bcdb72652af6cc3e0bff59cceb5ce749007f734.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: new environment variable INITDB_LOCALE_PROVIDER  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-hackers
On Fri, 2025-10-17 at 17:04 +0200, Peter Eisentraut wrote:
> 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.

That logic is there because there are still ways that LC_CTYPE matters
even when the provider is builtin or ICU, which means we need to make
an effort to get the LC_CTYPE from the environment and deal with the
problem cases.

I'm trying to eliminate the need for LC_CTYPE at all when
datlocprovider<>'c', and then we can just set datcollate and datctype
to NULL. I think it's possible, and I'll keep working on that. Perhaps
you'd like to see more progress in that direction before we commit this
patch?

Regards,
    Jeff Davis




В списке pgsql-hackers по дате отправления: