From: Tom Lane <tgl@sss.pgh.pa.us>
To: Euler Taveira <euler@eulerto.com>
Cc: Christoph Berg <myon@debian.org>
Cc: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Inconsistent "ICU Locale" output on older server versions
Date: Fri, 15 Apr 2022 12:47:42 -0400
Message-ID: <1651295.1650041262@sss.pgh.pa.us> (raw)
In-Reply-To: <a8dabdf4-1012-4c00-9d64-8e37f4ab4af5@www.fastmail.com>
References: <E1nUnH5-0006aR-MX@gemulon.postgresql.org>
<YjYYmsLr9mzqI4Jq@msg.df7cb.de>
<YlmIFCqu+TZSW4rB@msg.df7cb.de>
<a8dabdf4-1012-4c00-9d64-8e37f4ab4af5@www.fastmail.com>
"Euler Taveira" <euler@eulerto.com> writes:
> On Fri, Apr 15, 2022, at 11:58 AM, Christoph Berg wrote:
>> When running psql 15 against PG 14, the output is this:
>> The "ICU Locale" column is now populated, that seems wrong.
> Good catch!
Indeed.
> Since dataiculocale allows NULL, my suggestion is to use NULL instead of an
> empty string. It is consistent with a cluster whose locale provider is libc.
Yeah, I agree. We should make the pre-v15 output match what you'd see
if looking at a non-ICU v15 database.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, euler@eulerto.com, myon@debian.org, peter@eisentraut.org, pgsql-hackers@lists.postgresql.org
Subject: Re: Inconsistent "ICU Locale" output on older server versions
In-Reply-To: <1651295.1650041262@sss.pgh.pa.us>
References: <E1nUnH5-0006aR-MX@gemulon.postgresql.org> <YjYYmsLr9mzqI4Jq@msg.df7cb.de> <YlmIFCqu+TZSW4rB@msg.df7cb.de> <a8dabdf4-1012-4c00-9d64-8e37f4ab4af5@www.fastmail.com> <1651295.1650041262@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