pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Christoph Berg <myon@debian.org>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: pgsql: Add option to use ICU as global locale provider
Date: Sun, 20 Mar 2022 11:04:17 +0100
Message-ID: <2298daf1-c9c7-be30-7319-519a768b9405@enterprisedb.com> (raw)
In-Reply-To: <YjYYmsLr9mzqI4Jq@msg.df7cb.de>
References: <E1nUnH5-0006aR-MX@gemulon.postgresql.org>
	<YjYYmsLr9mzqI4Jq@msg.df7cb.de>

On 19.03.22 18:53, Christoph Berg wrote:
> Re: Peter Eisentraut
>> Since some (legacy) code still uses the libc locale facilities
>> directly, we still need to set the libc global locale settings even if
>> ICU is otherwise selected.  So pg_database now has three
>> locale-related fields: the existing datcollate and datctype, which are
>> always set, and a new daticulocale, which is only set if ICU is
>> selected.  A similar change is made in pg_collation for consistency,
>> but in that case, only the libc-related fields or the ICU-related
>> field is set, never both.
> 
> Since the intended usage seems to be that databases should either be
> using libc, or the ICU locales, but probably not both at the same
> time, does it make sense to clutter the already very wide `psql -l`
> output with two new extra columns?

Good point, let me think about that.





view thread (22+ messages)  latest in thread

Message-ID: <2298daf1-c9c7-be30-7319-519a768b9405@enterprisedb.com>
Permalink:  ../2298daf1-c9c7-be30-7319-519a768b9405@enterprisedb.com/
Also on:    postgresql.org/message-id/2298daf1-c9c7-be30-7319-519a768b9405@enterprisedb.com

 · 

reply

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: peter.eisentraut@enterprisedb.com, myon@debian.org, pgsql-hackers@lists.postgresql.org
  Subject: Re: pgsql: Add option to use ICU as global locale provider
  In-Reply-To: <2298daf1-c9c7-be30-7319-519a768b9405@enterprisedb.com>
  References: <E1nUnH5-0006aR-MX@gemulon.postgresql.org> <YjYYmsLr9mzqI4Jq@msg.df7cb.de> <2298daf1-c9c7-be30-7319-519a768b9405@enterprisedb.com>

* 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