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