pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Joe Conway <mail@joeconway.com>
To: Jeff Davis <pgsql@j-davis.com>
To: Peter Eisentraut <peter@eisentraut.org>
To: Daniel Verite <daniel@manitou-mail.org>
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Order changes in PG16 since ICU introduction
Date: Thu, 8 Jun 2023 17:59:43 -0400
Message-ID: <097aac39-fe4f-1d3c-e3a2-5563ffc0aa3d@joeconway.com> (raw )
In-Reply-To: <20f4e529e17af61bce11fe05cb056f28a809b840.camel@j-davis.com >
References: <543e4ce6-8205-4aea-b54b-12b9ef747bf6@manitou-mail.org >
<654a49f7ff7461bcf47be4181430678d45f93858.camel@j-davis.com >
<37520ec1ae9591f83132f82dbd625f3fc2d69c16.camel@j-davis.com >
<daa9f060aa2349ebc84444515efece49e7b32c5d.camel@j-davis.com >
<c840107b-4cb9-c8e9-abb7-1d8c5e0d51df@enterprisedb.com >
<a4388fa3acabf7794ac39fdb471ad97eebdfbe11.camel@j-davis.com >
<5111ffef640ec7ed5b75d9791dd18d821e96c31e.camel@j-davis.com >
<0f03fa26-741c-b1ee-12ab-566116451ab1@eisentraut.org >
<d4fcacbf4ccd829b5d138590bfe8f6d5e72cced8.camel@j-davis.com >
<5ecb1eec-c115-6de9-8dd4-4bf214b8ebda@joeconway.com >
<20f4e529e17af61bce11fe05cb056f28a809b840.camel@j-davis.com >
On 6/8/23 17:15, Jeff Davis wrote:
> On Wed, 2023-06-07 at 20:52 -0400, Joe Conway wrote:
>> If the provider has no such thing, throw an error.
>
> Just to be clear, that implies that users (and buildfarm members) with
> LANG=C.UTF-8 in their environment would not be able to run a plain
> "initdb -D data"; they'd get an error. It's hard for me to estimate how
> many users might be inconvenienced by that, but it sounds like a risk.
Well, but only if their libc provider does not have C.UTF-8, correct?
I see
----------------
Linux Mint 21.1: /usr/lib/locale/C.utf8
RHEL 8: /usr/lib/locale/C.utf8
RHEL 9: /usr/lib/locale/C.utf8
AL2: /usr/lib/locale/C.utf8
However I do not see it on RHEL 7 :-(
> Perhaps for this specific case, and only in initdb, we change
> C.anything and POSIX.anything to the builtin provider?
Might be best, with some kind of warning perhaps?
> CREATE DATABASE and CREATE COLLATION could still reject such
> locales.
Seems to make sense.
--
Joe Conway
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com
view thread (115+ messages) latest in thread
Message-ID: <097aac39-fe4f-1d3c-e3a2-5563ffc0aa3d@joeconway.com>
Permalink: ../097aac39-fe4f-1d3c-e3a2-5563ffc0aa3d@joeconway.com/
Also on: postgresql.org/message-id/097aac39-fe4f-1d3c-e3a2-5563ffc0aa3d@joeconway.com
copy link · copy postgr.es
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-hackers@postgresql.org
Cc: mail@joeconway.com, pgsql@j-davis.com, peter@eisentraut.org, daniel@manitou-mail.org, andrew@tao11.riddles.org.uk, tgl@sss.pgh.pa.us, pgsql-hackers@lists.postgresql.org
Subject: Re: Order changes in PG16 since ICU introduction
In-Reply-To: <097aac39-fe4f-1d3c-e3a2-5563ffc0aa3d@joeconway.com>
* 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