pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christoph Berg <myon@debian.org>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: pgsql: Add option to use ICU as global locale provider
Date: Mon, 21 Mar 2022 14:37:12 -0400
Message-ID: <2158266.1647887832@sss.pgh.pa.us> (raw)
In-Reply-To: <YjivDPvI9TMa5ppu@msg.df7cb.de>
References: <E1nUnH5-0006aR-MX@gemulon.postgresql.org>
	<YjYYmsLr9mzqI4Jq@msg.df7cb.de>
	<2298daf1-c9c7-be30-7319-519a768b9405@enterprisedb.com>
	<YjivDPvI9TMa5ppu@msg.df7cb.de>

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.

> For \l+, I'd suggest moving the database size and the tablespace to
> the front, after owner.

I think it's confusing if the + and non-+ versions of a command
present their columns in inconsistent orders.  I'm not dead set
against this, but -0.5 or so.

			regards, tom lane





view thread (22+ messages)

Message-ID: <2158266.1647887832@sss.pgh.pa.us>
Permalink:  ../2158266.1647887832@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2158266.1647887832@sss.pgh.pa.us

 · 

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

* 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