Re: pgsql: Use ICU by default at initdb time.

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: pgsql: Use ICU by default at initdb time.
Дата
Msg-id 437cb29641d176ccfb9d631351582fdd96842d8d.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: pgsql: Use ICU by default at initdb time.  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On Fri, 2023-03-10 at 07:48 -0800, Jeff Davis wrote:
> On Fri, 2023-03-10 at 15:48 +0100, Peter Eisentraut wrote:
> > Yes, of course.  So we can't really do what I was thinking of.
>
> OK, I plan to commit something like the patch in this thread soon. I
> just need to add an explanatory comment.

Committed a slightly narrower fix that derives the default encoding the
same way for both libc and ICU; except that ICU still uses UTF-8 for
C/POSIX/--no-locale (because ICU doesn't work with SQL_ASCII).

That seemed more consistent with the comments around
pg_get_encoding_from_locale() and it was also easier to document the -E
switch in initdb.

I'll keep an eye on the buildfarm to see if this fixes the problem or
causes other issues. But it seems like the right change.

Regards,
    Jeff Davis




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: RLS makes COPY TO process child tables
Следующее
От: Melanie Plageman
Дата:
Сообщение: Re: pg_stat_bgwriter.buffers_backend is pretty meaningless (and more?)