psql -l and locales (Re: pgsql: Add option to use ICU as global locale provider)
Christoph Berg <myon@debian.org>
From: Christoph Berg <myon@debian.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>, pgsql-hackers@lists.postgresql.org
Date: 2022-09-06T12:25:26Z
Lists: pgsql-hackers
Re: Tom Lane > Christoph Berg <myon@debian.org> writes: > > A possible solution might be to rip out all the locale columns except > > "Encoding" from \l, and leave them in place for \l+. > > I'd rather see a single column summarizing the locale situation. > Perhaps it could be COALESCE(daticulocale, datcollate), or > something using a CASE on datlocprovider? > Then \l+ could replace that with all the underlying columns. Fwiw I still think the default psql -l output should be more concise. Any chance to have that happen for PG15? I can try creating a patch if it has chances of getting through. Christoph
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