Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVXdz-0005BI-Mm for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Sep 2022 12:25:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oVXdy-0002dc-BW for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Sep 2022 12:25:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVXdy-0002dT-2X for pgsql-hackers@lists.postgresql.org; Tue, 06 Sep 2022 12:25:30 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVXdv-00056a-T1 for pgsql-hackers@lists.postgresql.org; Tue, 06 Sep 2022 12:25:29 +0000 Received: from msg.df7cb.de (unknown [IPv6:2003:5b:203b:100:7627:eaff:fe52:8e03]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 4MMPjg0kvKz3F37; Tue, 6 Sep 2022 14:25:27 +0200 (CEST) Date: Tue, 6 Sep 2022 14:25:26 +0200 From: Christoph Berg To: Tom Lane Cc: Peter Eisentraut , pgsql-hackers@lists.postgresql.org Subject: psql -l and locales (Re: pgsql: Add option to use ICU as global locale provider) Message-ID: Mail-Followup-To: Christoph Berg , Tom Lane , Peter Eisentraut , pgsql-hackers@lists.postgresql.org References: <2298daf1-c9c7-be30-7319-519a768b9405@enterprisedb.com> <2158266.1647887832@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2158266.1647887832@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: Tom Lane > Christoph Berg 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