Re: Psql meta-command conninfo+

From: Hunaid Sohail <hunaidpgml(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>, pgsql-hackers(at)postgresql(dot)org, Maiquel Grassi <grassi(at)hotmail(dot)com(dot)br>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, "Imseih (AWS), Sami" <simseih(at)amazon(dot)com>, Peter Eisentraut <peter(at)eisentraut(dot)org>, Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru>, Erik Wienhold <ewie(at)ewie(dot)name>
Subject: Re: Psql meta-command conninfo+
Date: 2024-09-26 07:15:26
Message-ID: CAMWA6yb15scCMjaaPPA024nv9zOq5h54_yyeJyRkazCNtTRmgQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

This patch renames "Current User" to "Authenticated User" as suggested by
me in my last email. I have also updated the documentation accordingly.

On Tue, Sep 17, 2024 at 4:53 PM Hunaid Sohail <hunaidpgml(at)gmail(dot)com> wrote:

> We can update the docs as follows:
> Authenticated User: The name of the user returned by PQuser().
> Session User: The session user's name.
>

Moreover, as Álvaro suggested, I made some modifications to the code
structure and moved verbose code into a separate function.

Please let me know if you have any questions or further suggestions.

Regards,
Hunaid Sohail

Attachment Content-Type Size
v35-0001-Add-psql-meta-command-conninfo.patch application/octet-stream 13.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2024-09-26 07:41:05 Re: not null constraints, again
Previous Message Dmitry Dolgov 2024-09-26 06:46:17 Re: Identify huge pages accessibility using madvise