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 1uQFuH-007ai3-Bx for pgsql-hackers@arkaria.postgresql.org; Sat, 14 Jun 2025 01:42:05 +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 1uQFuF-006NTV-Fu for pgsql-hackers@arkaria.postgresql.org; Sat, 14 Jun 2025 01:42:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uQFuF-006NTM-6O for pgsql-hackers@lists.postgresql.org; Sat, 14 Jun 2025 01:42:03 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uQFuD-001sSq-0f for pgsql-hackers@postgresql.org; Sat, 14 Jun 2025 01:42:02 +0000 Received: from [172.20.10.9] (sp49-98-212-101.msd.spmode.ne.jp [49.98.212.101]) by oss.nttdata.com (Postfix) with ESMTPSA id D6D38619B9; Sat, 14 Jun 2025 10:41:55 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at oss.nttdata.com Message-ID: <2ab7121b-6c7d-493d-9008-ed440d92add5@oss.nttdata.com> Date: Sat, 14 Jun 2025 10:41:55 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Suggestions for improving \conninfo output in v18 To: Nathan Bossart Cc: Tom Lane , "David G. Johnston" , Robert Treat , "pgsql-hackers@postgresql.org" , tomas@vondra.me, hlinnaka@iki.fi References: <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> <31050e7c-4851-4496-affd-b1c9432bb7ea@oss.nttdata.com> Content-Language: en-US From: Fujii Masao In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025/06/13 22:50, Nathan Bossart wrote: > On Fri, Jun 13, 2025 at 06:52:26PM +0900, Fujii Masao wrote: >> 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? >> ----------------------- > > Sounds good to me. Thanks for confirming! I've now pushed the 0001 patch. As discussed earlier, I've also committed the 0002 patch. Regards, -- Fujii Masao NTT DATA Japan Corporation