pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: psql -l and locales (Re: pgsql: Add option to use ICU as global locale provider)
Date: Tue, 6 Sep 2022 14:25:26 +0200
Message-ID: <Yxc8NoC0chLC7bfX@msg.df7cb.de> (raw)
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>

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





Message-ID: <Yxc8NoC0chLC7bfX@msg.df7cb.de>
Permalink:  ../Yxc8NoC0chLC7bfX@msg.df7cb.de/
Also on:    postgresql.org/message-id/Yxc8NoC0chLC7bfX@msg.df7cb.de

 · 

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: myon@debian.org, tgl@sss.pgh.pa.us, peter.eisentraut@enterprisedb.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: psql -l and locales (Re: pgsql: Add option to use ICU as global locale provider)
  In-Reply-To: <Yxc8NoC0chLC7bfX@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> <2158266.1647887832@sss.pgh.pa.us> <Yxc8NoC0chLC7bfX@msg.df7cb.de>

* 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