Re: ICU, locale and collation question

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Oscar Carlberg <oscar(dot)carlberg(at)fortnox(dot)se>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: ICU, locale and collation question
Date: 2023-05-09 13:31:19
Message-ID: fbd7f9ec7368c95318e4083256ec0c6196b9ed2f.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 2023-05-09 at 08:54 +0200, Oscar Carlberg wrote:
> Should we still provide createdb with --lc-collate=C and --lc-ctype=C,
> or should we set those to sv_SE.UTF-8 as well?

That depends on whether you want Swedish or binary sort order
(is "a" < "Z" or not?). The C collation is not good for natural
language sorting, but it is fast and not subject to collation changes.

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2023-05-09 15:24:09 Re: ICU, locale and collation question
Previous Message shveta malik 2023-05-09 10:53:24 Re: Support logical replication of DDLs