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@xxxxxxxxxxx