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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: psql: fix \l display for pre-v15 databases.
Date: 2022-04-15 22:31:14
Message-ID: E1nfUTC-000gxu-25@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2022-04-15 22:50:14 pgsql: Fix multi-table VACUUM VERBOSE accounting.
Previous Message Tom Lane 2022-04-15 21:50:13 pgsql: Tighten ComputeXidHorizons' handling of walsenders.