Re: Suggestions for improving \conninfo output in v18

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Robert Treat <rob(at)xzilla(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, tomas(at)vondra(dot)me, hlinnaka(at)iki(dot)fi
Subject: Re: Suggestions for improving \conninfo output in v18
Date: 2025-06-13 13:50:46
Message-ID: aEwsth-wagChX5eL@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

--
nathan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2025-06-13 13:57:42 Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx
Previous Message Shubhankar Anand Kulkarni 2025-06-13 13:04:45 Re: Expression push down from Join Node to below node.