pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: ICU: do not convert locale 'C' to 'en-US-u-va-posix'.
Date: Mon, 08 May 2023 17:49:24 +0000
Message-ID: <E1pw4zE-00180j-4H@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1pw4zE-00180j-4H@gemulon.postgresql.org>
Permalink:  ../E1pw4zE-00180j-4H@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pw4zE-00180j-4H@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: ICU: do not convert locale 'C' to 'en-US-u-va-posix'.
  In-Reply-To: <E1pw4zE-00180j-4H@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox