default icu locale for new databases (PG15)

From: Robert Sjöblom <robert(dot)sjoblom(at)fortnox(dot)se>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: default icu locale for new databases (PG15)
Date: 2023-01-12 14:56:22
Message-ID: 90631fa8-242d-806a-da9a-e53d6f5a93f7@fortnox.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greetings,

When initializing a new database server with a default collation, there
are a number of different locales available. What's the difference between

1. se-x-icu
2. se-SE-x-icu
3. sv-SE-x-icu

? And, perhaps more importantly, how do I future-proof this so that I'm
not making a decision today that will make my life worse when upgrading
from postgres 15 to 16+? For a database with Swedish collation, which
option is "the best"? Or perhaps "the most foolproof"?

Best regards,
Robert Sjöblom

--
Innehållet i detta e-postmeddelande är konfidentiellt och avsett endast för
adressaten.Varje spridning, kopiering eller utnyttjande av innehållet är
förbjuden utan tillåtelse av avsändaren. Om detta meddelande av misstag
gått till fel adressat vänligen radera det ursprungliga meddelandet och
underrätta avsändaren via e-post

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2023-01-12 15:08:14 Re: Intervals and ISO 8601 duration
Previous Message Sebastien Flaesch 2023-01-12 13:40:43 Intervals and ISO 8601 duration