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 1jUHYo-00017Q-LM for pgsql-docs@arkaria.postgresql.org; Thu, 30 Apr 2020 22:21:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jUHYn-0007D0-DN for pgsql-docs@arkaria.postgresql.org; Thu, 30 Apr 2020 22:21:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUHYn-0007Ct-7l for pgsql-docs@lists.postgresql.org; Thu, 30 Apr 2020 22:21:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUHYk-00020U-Jn for pgsql-docs@lists.postgresql.org; Thu, 30 Apr 2020 22:21:36 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 03UMLWuf023334; Thu, 30 Apr 2020 18:21:32 -0400 From: Tom Lane To: Bruce Momjian cc: grgbnc@gmail.com, pgsql-docs@lists.postgresql.org Subject: Re: adding a TOC to the psql reference page In-reply-to: <20200430221658.GA31271@momjian.us> References: <158827968914.671.12883635848515477474@wrigleys.postgresql.org> <20200430221658.GA31271@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Thu, 30 Apr 2020 18:16:58 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23332.1588285292.1@sss.pgh.pa.us> Date: Thu, 30 Apr 2020 18:21:32 -0400 Message-ID: <23333.1588285292@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Bruce Momjian writes: > On Thu, Apr 30, 2020 at 08:48:09PM +0000, PG Doc comments form wrote: >> Since https://www.postgresql.org/docs/current/app-psql.html is quite long, >> it would be nice to add a detailed table of contents at its beginning, > Yes, I can see the value in that, but I don't think we do that for any > other SQL comments. Would doing it just for psql make sense? psql's reference page is so much longer than any other command's that I think this is perfectly reasonable. However, we do have to worry about what will happen in man-page-format output. regards, tom lane