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 1ndC7n-00071Q-PL for pgsql-hackers@arkaria.postgresql.org; Sat, 09 Apr 2022 14:31:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ndC7l-0006Lk-Qs for pgsql-hackers@arkaria.postgresql.org; Sat, 09 Apr 2022 14:31:37 +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 1ndC7l-0006La-I7 for pgsql-hackers@lists.postgresql.org; Sat, 09 Apr 2022 14:31:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ndC7g-0004RU-A2 for pgsql-hackers@lists.postgresql.org; Sat, 09 Apr 2022 14:31:37 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 239EVHt34105552; Sat, 9 Apr 2022 10:31:18 -0400 From: Tom Lane To: Christoph Berg cc: Pavel Stehule , "David G. Johnston" , Joe Conway , Mark Dilger , Andrew Dunstan , David Rowley , Alvaro Herrera , PostgreSQL Developers Subject: Re: How about a psql backslash command to show GUCs? In-reply-to: References: <995e06b1-0e50-396e-fce3-934d5e511e27@dunslane.net> <3370142.1649348973@sss.pgh.pa.us> <2DB6EB50-04DF-49D1-BB5B-61C62898BB35@enterprisedb.com> <3370992.1649349445@sss.pgh.pa.us> <711e43b9-6499-6a8b-0802-fb549874658e@joeconway.com> <3400691.1649363759@sss.pgh.pa.us> Comments: In-reply-to Christoph Berg message dated "Sat, 09 Apr 2022 11:21:51 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4105550.1649514677.1@sss.pgh.pa.us> Date: Sat, 09 Apr 2022 10:31:17 -0400 Message-ID: <4105551.1649514677@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Christoph Berg writes: > The name has evolved from \dcp over various longer \d-things to the > more verbose \dconfig. How about we evolve it even more and just call > it \config? I think people felt that it should be part of the \d family. Also, because we have \connect and \conninfo, you'd need to type at least five characters before you could tab-complete, whereas \dconfig is unique at four (you just need \dco). > I would think that if \dconfig showed the non-default settings only, > it would be much more useful; the full list would still be available > with "\dconfig *". This is in line with \dt only showing tables on the > search_path, and "\dt *.*" showing all. Hm, I could get on board with that -- any other opinions? (Perhaps there's an argument for omitting "override" settings as well?) regards, tom lane