pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: psql: fix \l display for pre-v15 databases.
Date: Fri, 15 Apr 2022 22:31:14 +0000
Message-ID: <E1nfUTC-000gxu-25@gemulon.postgresql.org> (raw)

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

With a pre-v15 server, show NULL for the "ICU Locale" column,
matching what you see in v15 when the database locale isn't ICU.
The previous coding incorrectly repeated datcollate here.

(There's an unfinished discussion about whether to consolidate
these columns in \l output, but in any case we'd want this fix
for \l+ output.)

Euler Taveira, per report from Christoph Berg

Discussion: https://postgr.es/m/YlmIFCqu+TZSW4rB@msg.df7cb.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7129a9791eafdd825eae0187b7dd7b99ed48fdc7

Modified Files
--------------
src/bin/psql/describe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1nfUTC-000gxu-25@gemulon.postgresql.org>
Permalink:  ../E1nfUTC-000gxu-25@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nfUTC-000gxu-25@gemulon.postgresql.org

 · 

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
  Subject: Re: pgsql: psql: fix \l display for pre-v15 databases.
  In-Reply-To: <E1nfUTC-000gxu-25@gemulon.postgresql.org>
  References: <E1nfUTC-000gxu-25@gemulon.postgresql.org>

* 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