Re: Current Connection Information - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: Current Connection Information
Date
Msg-id CAJ7c6TMRChv7zixhr+g9qqsazr21VcMH4U4mf9O13iqx=0Bwsw@mail.gmail.com
Whole thread Raw
In response to Current Connection Information  (Maiquel Grassi <grassi@hotmail.com.br>)
Responses RE: Current Connection Information
List 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
haveother 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



pgsql-hackers by date:

Previous
From: Junwang Zhao
Date:
Subject: Re: Make COPY format extendable: Extract COPY TO format implementations
Next
From: Bertrand Drouvot
Date:
Subject: Re: Synchronizing slots from primary to standby