Suggestions for improving \conninfo output in v18 - Mailing list pgsql-hackers

From Fujii Masao
Subject Suggestions for improving \conninfo output in v18
Date
Msg-id 685961b8-b6ce-40bb-b2d5-c2ff135d3388@oss.nttdata.com
Whole thread Raw
Responses Re: Suggestions for improving \conninfo output in v18
List pgsql-hackers
Hi,

In v18, the "Protocol Version" column shown by \conninfo reports only
the major version (e.g., 3). Wouldn't it be more helpful to show the full
version (e.g., 3.2) using PQfullProtocolVersion()? Since support for
protocol version 3.2 was introduced in v18, users may want to know
exactly which version the current session is using.

Also, I noticed that the "Client User" column reflects the user at
the time of connection, while the "Superuser" column reflects whether
the current user in the current execution context is a superuser.
This means the users referred to in these columns can differ.
It might be worth aligning this behavior, or at least noting the distinction
clearly in the documentation?

Regards,

-- 
Fujii Masao
NTT DATA Japan Corporation




pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: Review/Pull Request: Adding new CRC32C implementation for IBM S390X
Next
From: Bertrand Drouvot
Date:
Subject: Re: Add AioUringCompletion in wait_event_names.txt and a safeguard in generate-wait_event_types.pl