Re: Inconsistent "ICU Locale" output on older server versions
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Euler Taveira" <euler@eulerto.com>
Cc: "Christoph Berg" <myon@debian.org>,
"Peter Eisentraut" <peter@eisentraut.org>,
pgsql-hackers@lists.postgresql.org
Date: 2022-04-15T16:47:42Z
Lists: 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
Commits
-
psql: fix \l display for pre-v15 databases.
- 7129a9791eaf 15.0 landed
-
Fix global ICU collations for ICU < 54
- 3a671e1f7cb8 15.0 landed
-
Add option to use ICU as global locale provider
- f2553d43060e 15.0 cited
-
Add support for collation attributes on older ICU versions
- b8f9a2a69a27 12.0 cited