pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Robert Treat <rob@xzilla.net>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: nathandbossart@gmail.com
Cc: tomas@vondra.me
Cc: hlinnaka@iki.fi
Subject: Re: Suggestions for improving \conninfo output in v18
Date: Fri, 13 Jun 2025 18:52:26 +0900
Message-ID: <31050e7c-4851-4496-affd-b1c9432bb7ea@oss.nttdata.com> (raw)
In-Reply-To: <1314564.1749789172@sss.pgh.pa.us>
References: <685961b8-b6ce-40bb-b2d5-c2ff135d3388@oss.nttdata.com>
	<CAKFQuwasj8LyAg1VQ088fecb1ee8WfE-K2a7io380RB0+Tp67Q@mail.gmail.com>
	<f31e3453-4ed6-4742-b290-e1ef332e3876@oss.nttdata.com>
	<CAKFQuwZ3Pfx925Z2o8saMEhifL=A80oue5SCa1buv5H_GsD88g@mail.gmail.com>
	<9e789ede-b56c-4a27-bb35-5b03e993a26b@oss.nttdata.com>
	<CABV9wwPOBELmYS5EWBNZJLu1Jjs346b8qWzbdc6fgH_u9VBpxA@mail.gmail.com>
	<3e2e6f04-0a85-41a8-bf81-0ff727d23f0c@oss.nttdata.com>
	<4568b6be-5520-4804-aa03-6e4b46afa665@oss.nttdata.com>
	<CAKFQuwYdYPS-EShx_009jACOLwFQWAXebAorRm3X8G-RbUU7ZA@mail.gmail.com>
	<1314564.1749789172@sss.pgh.pa.us>



On 2025/06/13 13:32, Tom Lane wrote:
> "David G. Johnston" <david.g.johnston@gmail.com> writes:
>> On Thu, Jun 12, 2025 at 8:05 PM Fujii Masao <masao.fujii@oss.nttdata.com>
>> 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






view thread (13+ messages)  latest in thread

Message-ID: <31050e7c-4851-4496-affd-b1c9432bb7ea@oss.nttdata.com>
Permalink:  ../31050e7c-4851-4496-affd-b1c9432bb7ea@oss.nttdata.com/
Also on:    postgresql.org/message-id/31050e7c-4851-4496-affd-b1c9432bb7ea@oss.nttdata.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: masao.fujii@oss.nttdata.com, tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, rob@xzilla.net, nathandbossart@gmail.com, tomas@vondra.me, hlinnaka@iki.fi
  Subject: Re: Suggestions for improving \conninfo output in v18
  In-Reply-To: <31050e7c-4851-4496-affd-b1c9432bb7ea@oss.nttdata.com>
  References: <685961b8-b6ce-40bb-b2d5-c2ff135d3388@oss.nttdata.com> <CAKFQuwasj8LyAg1VQ088fecb1ee8WfE-K2a7io380RB0+Tp67Q@mail.gmail.com> <f31e3453-4ed6-4742-b290-e1ef332e3876@oss.nttdata.com> <CAKFQuwZ3Pfx925Z2o8saMEhifL=A80oue5SCa1buv5H_GsD88g@mail.gmail.com> <9e789ede-b56c-4a27-bb35-5b03e993a26b@oss.nttdata.com> <CABV9wwPOBELmYS5EWBNZJLu1Jjs346b8qWzbdc6fgH_u9VBpxA@mail.gmail.com> <3e2e6f04-0a85-41a8-bf81-0ff727d23f0c@oss.nttdata.com> <4568b6be-5520-4804-aa03-6e4b46afa665@oss.nttdata.com> <CAKFQuwYdYPS-EShx_009jACOLwFQWAXebAorRm3X8G-RbUU7ZA@mail.gmail.com> <1314564.1749789172@sss.pgh.pa.us> <31050e7c-4851-4496-affd-b1c9432bb7ea@oss.nttdata.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox