diff options
author | Fujii Masao | 2025-06-14 01:37:12 +0000 |
---|---|---|
committer | Fujii Masao | 2025-06-14 01:37:12 +0000 |
commit | be37ac20fc23511c49b9c56567c7c707b73d10b0 (patch) | |
tree | 8379019dff05f4efe278f7f8e72727089cadd9ce /src/fe_utils/conditional.c | |
parent | eb124c3d6deb5d0c7a588d847e3840bcc2cd0dcc (diff) |
psql: Report full protocol version in \conninfo output.
Commit bba2fbc6238 modified \conninfo to display the protocol version
used by the current connection, but it only showed the major version (e.g., 3).
This commit updates \conninfo to display the full protocol version (e.g., 3.2).
Since support for new version 3.2 was added in v18, and the server supports
both 3.0 and 3.2, showing the complete version helps users understand
exactly which protocol version the current session is using.
Although this is a minor behavior change, it's considered a fix for
an oversight in the original patch and is included in v18.
Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: David G. Johnston <david.g.johnston@gmail.com>
Discussion: https://postgr.es/m/685961b8-b6ce-40bb-b2d5-c2ff135d3388@oss.nttdata.com
Diffstat (limited to 'src/fe_utils/conditional.c')
0 files changed, 0 insertions, 0 deletions