Re: Inconsistent "ICU Locale" output on older server versions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Inconsistent "ICU Locale" output on older server versions
Date
Msg-id 1651295.1650041262@sss.pgh.pa.us
Whole thread Raw
In response to Re: Inconsistent "ICU Locale" output on older server versions  ("Euler Taveira" <euler@eulerto.com>)
List pgsql-hackers
"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



pgsql-hackers by date:

Previous
From: Ajin Cherian
Date:
Subject: Re: deparsing utility commands
Next
From: Peter Geoghegan
Date:
Subject: Re: Intermittent buildfarm failures on wrasse