Re: Who am I? Where am I connected? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Who am I? Where am I connected?
Date
Msg-id bc7e0ae1-019f-affb-4978-869be88f63b4@aklaver.com
Whole thread Raw
In response to Re: Who am I? Where am I connected?  (Dominique Devienne <ddevienne@gmail.com>)
List pgsql-general
On 5/18/22 14:59, Dominique Devienne wrote:
> 

> 
> AFAIK, it’s not psql that does this though, it’s libpq the official 
> client api.
> And the fact libpq has no way to surface that info seems like an 
> important oversight.
> 

Not all clients use libpq e.g. the Postgres JDBC driver. It just uses 
the Postgres  Frontend/Backend protocol:

https://www.postgresql.org/docs/current/protocol.html


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Dominique Devienne
Date:
Subject: Re: Who am I? Where am I connected?
Next
From: itman73@protonmail.com
Date:
Subject: switchover and switchback assistance ...