Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uQ15U-002bLO-Ii for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Jun 2025 09:52:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uQ15S-002YzM-MI for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Jun 2025 09:52:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uQ15S-002YzE-Cw for pgsql-hackers@lists.postgresql.org; Fri, 13 Jun 2025 09:52:39 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uQ15P-001nbr-38 for pgsql-hackers@postgresql.org; Fri, 13 Jun 2025 09:52:38 +0000 Received: from [192.168.11.9] (p1696134-ipoe.ipoe.ocn.ne.jp [118.0.93.133]) by oss.nttdata.com (Postfix) with ESMTPSA id 682706093E; Fri, 13 Jun 2025 18:52:27 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at oss.nttdata.com Message-ID: <31050e7c-4851-4496-affd-b1c9432bb7ea@oss.nttdata.com> Date: Fri, 13 Jun 2025 18:52:26 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Suggestions for improving \conninfo output in v18 To: Tom Lane , "David G. Johnston" Cc: Robert Treat , "pgsql-hackers@postgresql.org" , nathandbossart@gmail.com, tomas@vondra.me, hlinnaka@iki.fi References: <685961b8-b6ce-40bb-b2d5-c2ff135d3388@oss.nttdata.com> <9e789ede-b56c-4a27-bb35-5b03e993a26b@oss.nttdata.com> <3e2e6f04-0a85-41a8-bf81-0ff727d23f0c@oss.nttdata.com> <4568b6be-5520-4804-aa03-6e4b46afa665@oss.nttdata.com> <1314564.1749789172@sss.pgh.pa.us> Content-Language: en-US From: Fujii Masao In-Reply-To: <1314564.1749789172@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025/06/13 13:32, Tom Lane wrote: > "David G. Johnston" writes: >> On Thu, Jun 12, 2025 at 8:05 PM Fujii Masao >> wrote: >>> Therefore I see this as fixing an oversight in commit bba2fbc6238, so I'd >>> like to commit the 0001 patch as well in v18. Thought? > >> You should get the concurrence of the RMT. >> ... >> Also, I was under the impression that updating relevant documentation for >> a feature wasn't even subject to RMT review; > > FWIW, I agree with David's view of both of these points. RMT > review of 0001 should be a formality here, but nonetheless > we should adhere to process. Agreed. Thanks to both of you for the comment! I've added the RMT to CC. What do you think about including the 0001 patch in v18? Would you be okay with that? ----------------------- The 0001 patch changes \conninfo to report the full protocol version (e.g., 3.2) instead of just the major version (e.g., 3). This is technically a behavior change, but since protocol version 3.2 was introduced in v18, and both 3.0 and 3.2 are now valid, always showing just "3" isn't very helpful. To see which protocol version is actually in use, showing the full version is more informative. Therefore I see this as fixing an oversight in commit bba2fbc6238, so I'd like to commit the 0001 patch as well in v18. Thought? ----------------------- Regards, -- Fujii Masao NTT DATA Japan Corporation