Re: Psql meta-command conninfo+

Поиск
Список
Период
Сортировка
This is a good idea about extended connection info.

On 07.02.2024 07:13, Maiquel Grassi wrote:
P {margin-top:0;margin-bottom:0;}SELECT
...
  current_user AS "User",
This will be inconsistent with \conninfo.
\conninfo returns authenticated user (PQuser), not the current_user.
It might be worth showing current_user, session_user, and authenticated user,
but I can't find the appropriate sql function for PQuser.

What about to include system_user function? It shows useful authentication details.

Also, it seems that the verbose parameter in the listConnectionInformation
is unnecessary.
-- 
Pavel Luzanov
Postgres Professional: https://postgrespro.com

В списке pgsql-hackers по дате отправления:

Предыдущее
От: shveta malik
Дата:
Сообщение: Re: Synchronizing slots from primary to standby
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Commitfest 2024-01 first week update