pgsql: ICU: do not convert locale 'C' to 'en-US-u-va-posix'.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: ICU: do not convert locale 'C' to 'en-US-u-va-posix'.
Date: 2023-05-08 17:49:24
Message-ID: E1pw4zE-00180j-4H@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

ICU: do not convert locale 'C' to 'en-US-u-va-posix'.

The conversion was intended to be for convenience, but it's more
likely to be confusing than useful.

The user can still directly specify 'en-US-u-va-posix' if desired.

Discussion: https://postgr.es/m/f83f089ee1e9acd5dbbbf3353294d24e1f196e95.camel@j-davis.com
Discussion: https://postgr.es/m/37520ec1ae9591f83132f82dbd625f3fc2d69c16.camel@j-davis.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f7faa9976cc0504c027a20ed66ceca9018041dd4

Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 19 +------------------
src/bin/initdb/initdb.c | 17 +----------------
src/test/regress/expected/collate.icu.utf8.out | 8 ++++++++
src/test/regress/sql/collate.icu.utf8.sql | 4 ++++
4 files changed, 14 insertions(+), 34 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2023-05-08 19:58:22 Re: issue with meson builds on msys2
Previous Message Tom Lane 2023-05-08 16:38:20 pgsql: Last-minute updates for release notes.