Re: pgsql: Add option to use ICU as global locale provider

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Julien Rouhaud <rjuju123@gmail.com>, Michael Paquier <michael@paquier.xyz>, pgsql-committers@lists.postgresql.org
Date: 2022-03-18T17:29:41Z
Lists: pgsql-hackers
I found a different problem with src/test/icu/: it fails altogether
if the prevailing locale is "C", because then the database encoding
defaults to SQL_ASCII which our ICU code won't cope with.  I'm not
sure if that explains any of the buildfarm failures, but it broke
my local build (yeah, I'm that guy).  I un-broke it for the moment
by forcing the test to use UTF8 encoding, but do we want to do
anything smarter than that?

			regards, tom lane



Commits

  1. psql: fix \l display for pre-v15 databases.

  2. Fix global ICU collations for ICU < 54

  3. Add option to use ICU as global locale provider

  4. Add support for collation attributes on older ICU versions