Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxEoQ-0002tU-Hk for pgsql-hackers@arkaria.postgresql.org; Fri, 22 Feb 2019 17:40:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gxEoP-0006VW-4b for pgsql-hackers@arkaria.postgresql.org; Fri, 22 Feb 2019 17:40:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxEoO-0006V2-Sv for pgsql-hackers@lists.postgresql.org; Fri, 22 Feb 2019 17:40:36 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxEoM-0008SD-5m for pgsql-hackers@postgresql.org; Fri, 22 Feb 2019 17:40: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 x1MHeVbX016755; Fri, 22 Feb 2019 12:40:32 -0500 From: Tom Lane To: Euler Taveira cc: Peter Eisentraut , pgsql-hackers Subject: Re: psql show URL with help In-reply-to: References: <40179bd0-fa7d-4108-1991-a20ae9ad5667@2ndquadrant.com> <25863.1550847327@sss.pgh.pa.us> Comments: In-reply-to Euler Taveira message dated "Fri, 22 Feb 2019 12:10:20 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16753.1550857231.1@sss.pgh.pa.us> Date: Fri, 22 Feb 2019 12:40:31 -0500 Message-ID: <16754.1550857231@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Euler Taveira writes: > I'm not suggesting that we replace version number using the latest > version URL. However, we could prevent URL to be shown if the version > mismatch. If psql wasn't backward compatible we shouldn't care but it > is. Someone could be confused as I said earlier. I tend to agree with Peter that showing the URL is actually better than not doing so, in such a case --- it might remind the user which version the help text is for. regards, tom lane