Re: Order changes in PG16 since ICU introduction - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Order changes in PG16 since ICU introduction
Date
Msg-id 3367226.1682099185@sss.pgh.pa.us
Whole thread Raw
In response to RE: Order changes in PG16 since ICU introduction  ("Regina Obe" <lr@pcorp.us>)
Responses RE: Order changes in PG16 since ICU introduction
List pgsql-hackers
"Regina Obe" <lr@pcorp.us> writes:
> On my mingw64 setup, I built a test database on PG16 (built with icu
> support) and PG15 (no icu support)

> CREATE DATABASE test TEMPLATE=template0 ENCODING = 'UTF8' LC_COLLATE = 'C'
> LC_CTYPE = 'C';

As has been pointed out already, setting LC_COLLATE/LC_CTYPE is
meaningless when the locale provider is ICU.  You need to look
at what ICU locale is being chosen, or force it with LOCALE = 'C'.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Commitfest 2023-03 starting tomorrow!
Next
From: "Regina Obe"
Date:
Subject: RE: Order changes in PG16 since ICU introduction