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 1kww1g-00055M-Uy for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Jan 2021 23:46:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kww1f-0000jJ-Rh for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Jan 2021 23:46:07 +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 1kww1f-0000iA-Kd for pgsql-hackers@lists.postgresql.org; Tue, 05 Jan 2021 23:46:07 +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 1kww1c-0004pi-O2 for pgsql-hackers@postgresql.org; Tue, 05 Jan 2021 23:46:07 +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 105Nk17B3454492; Tue, 5 Jan 2021 18:46:02 -0500 From: Tom Lane To: Laurenz Albe cc: Justin Pryzby , pgsql-hackers@postgresql.org Subject: Re: allow to \dtS+ pg_toast.* In-reply-to: <75f515dda92a7576f18baf872ed7e45ca03db160.camel@cybertec.at> References: <20201130165436.GX24052@telsasoft.com> <1839fe7148f3aa1a7b28da9064a5c2f8b08316c3.camel@cybertec.at> <20201218065808.GY30237@telsasoft.com> <20201218173312.GZ30237@telsasoft.com> <75f515dda92a7576f18baf872ed7e45ca03db160.camel@cybertec.at> Comments: In-reply-to Laurenz Albe message dated "Mon, 21 Dec 2020 15:20:51 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3454490.1609890361.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 05 Jan 2021 18:46:01 -0500 Message-ID: <3454491.1609890361@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Laurenz Albe writes: > On Fri, 2020-12-18 at 11:33 -0600, Justin Pryzby wrote: >>>> This makes toast tables a bit less special and easier to inspect. Pushed, except for >>> Another thing that is missing is tab completion for >>> regression=3D# \dtS pg_toast.pg_ >>> This should work just like for \d and \dS. >> I agree that it's nice to complete the schema name, but I'm still not c= onvinced >> this part should be included. > Again a judgement call. I am happy with the way the latest patch does i= t. I remain pretty much against including toast tables in tab completion, so I left out that part. >> I considered whether "toast table" should be capitalized (as it is for = "\d") >> but I think it should stay lowercase. > Then you should also change the way \d does it (upper case). > I think we should be consistent. I think capitalized TOAST is correct, because it's an acronym. I also agree that consistency with what \d shows is important, and I have no desire to change \d's longstanding output. regards, tom lane