From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Nico Williams <nico@cryptonector.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Solaris versus our NLS files
Date: Tue, 09 Dec 2025 18:36:19 -0500
Message-ID: <308000.1765323379@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+hUKGLkyDbFNnnSJnKYyeEU5SP+Hdj8U9wYwPLYasR_ursUGw@mail.gmail.com>
References: <292844.1765315339@sss.pgh.pa.us>
<CA+hUKG+a_4Y8-b7ukGb9RDX93eeEEcKyZ_ziDOLK6eODRCanNg@mail.gmail.com>
<CA+hUKG+C7hVLEVjGOSF+dJ_sGweLs0Lq2JvSG9QKwo7_JDUFkQ@mail.gmail.com>
<aTihGpi6DjyVmKQS@ubby>
<CA+hUKGLkyDbFNnnSJnKYyeEU5SP+Hdj8U9wYwPLYasR_ursUGw@mail.gmail.com>
Thomas Munro <thomas.munro@gmail.com> writes:
> On Wed, Dec 10, 2025 at 11:22 AM Nico Williams <nico@cryptonector.com> wrote:
>> How about supporting only UTF-8 locales?
> Yeah, if nobody noticed this wasn't working at all, then it makes
> sense to defer the generation of .mo files for non-UTF-8 codesets
> until someone eventually does notice that it still doesn't work in
> legacy locales and feels inclined to do something about it, ie
> forever. Tom's goal of having basic tests pass will be satisfied by
> UTF-8-only.
Right. For the moment I only care about verifying that (a) some
translation happens and (b) the PRI* macros work as-expected.
Since we've already discovered platform-specific failures on both
points, this seems like a very worthwhile exercise.
Encoding-specific behaviors might be worth testing later, but
I'm not excited about that personally.
regards, tom lane
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: tgl@sss.pgh.pa.us, thomas.munro@gmail.com, nico@cryptonector.com, pgsql-hackers@lists.postgresql.org
Subject: Re: Solaris versus our NLS files
In-Reply-To: <308000.1765323379@sss.pgh.pa.us>
* 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