From: | Aleksander Alekseev <aleksander(at)timescale(dot)com> |
---|---|
To: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Maiquel Grassi <grassi(at)hotmail(dot)com(dot)br> |
Subject: | Re: Current Connection Information |
Date: | 2024-01-26 08:27:26 |
Message-ID: | CAJ7c6TMRChv7zixhr+g9qqsazr21VcMH4U4mf9O13iqx=0Bwsw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi Maiquel,
I assume you wanted to reply to the mailing list and add me to cc:
(aka "Reply to All") but sent the e-mail off-list by mistake, so
quoting it here:
> Hi Aleksander,
>
> Why do you think DataGrip users would be unhappy?
>
> I liked your suggestion of creating something like \whoami for psql. Wouldn't it be worth trying that?
>
> The output doesn't necessarily need to include all the fields I added in my PL/pgSQL function; it can be reduced or have other fields added.
>
>
> What do you think?
Answering the questions:
> Why do you think DataGrip users would be unhappy?
I must admit I'm not well familiar with such products. My humble
understanding is that in most cases they use JDBC, libpq or other
drivers and thus can't benefit from something implemented in psql.
> I liked your suggestion of creating something like \whoami for psql. Wouldn't it be worth trying that?
IMO it's worth trying submitting the patch, if your time permits it of course.
--
Best regards,
Aleksander Alekseev
From | Date | Subject | |
---|---|---|---|
Next Message | Bertrand Drouvot | 2024-01-26 08:31:18 | Re: Synchronizing slots from primary to standby |
Previous Message | Junwang Zhao | 2024-01-26 08:18:14 | Re: Make COPY format extendable: Extract COPY TO format implementations |