Re: Move defaults toward ICU in 16? - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Move defaults toward ICU in 16?
Date
Msg-id d0c358963653f080762b6b62b9d4d7e2d33b38ab.camel@j-davis.com
Whole thread Raw
In response to Re: Move defaults toward ICU in 16?  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Move defaults toward ICU in 16?
Re: Move defaults toward ICU in 16?
List pgsql-hackers
On Fri, 2023-02-17 at 18:27 +0100, Pavel Stehule wrote:
> Today I tested icu for Czech sorting. It is a little bit slower, but
> not too much, but it produces partially different results.

Thank you for trying it.

If it's a significant slowdown, can you please send more information?
ICU version, libc version, and testcase?

> select row_number() over (order by nazev collate "cs-x-icu"), nazev
> from obce
> except select row_number() over (order by nazev collate "cs_CZ"),
> nazev from obce;
>
> returns a not empty set. So minimally for Czech collate, an index
> rebuild is necessary

Yes, that's true of any locale change, provider change, or even
provider version change.


--
Jeff Davis
PostgreSQL Contributor Team - AWS





pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_init_privs corruption.
Next
From: Tom Lane
Date:
Subject: Re: The output sql generated by pg_dump for a create function refers to a modified table name