pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Dominique Devienne <ddevienne@gmail.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Who am I? Where am I connected?
Date: Wed, 18 May 2022 15:37:55 -0700
Message-ID: <bc7e0ae1-019f-affb-4978-869be88f63b4@aklaver.com> (raw)
In-Reply-To: <CAFCRh-9D37RTFNAFm-r+trq63kpk_M4cWGQ5_oG0hM+9QHLe7Q@mail.gmail.com>
References: <CAFCRh-_BSW8VRPPQU6OrKmLZmk1+-0GvbBObgkMmqWf2_YqMkQ@mail.gmail.com>
	<CAKFQuwZK=Gsuwts9gcje8-vQ8ZXoGcm1CHgo9oVTzowOVKi9TQ@mail.gmail.com>
	<CAFCRh-9D37RTFNAFm-r+trq63kpk_M4cWGQ5_oG0hM+9QHLe7Q@mail.gmail.com>

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





view thread (9+ messages)  latest in thread

Message-ID: <bc7e0ae1-019f-affb-4978-869be88f63b4@aklaver.com>
Permalink:  ../bc7e0ae1-019f-affb-4978-869be88f63b4@aklaver.com/
Also on:    postgresql.org/message-id/bc7e0ae1-019f-affb-4978-869be88f63b4@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, ddevienne@gmail.com, david.g.johnston@gmail.com
  Subject: Re: Who am I? Where am I connected?
  In-Reply-To: <bc7e0ae1-019f-affb-4978-869be88f63b4@aklaver.com>
  References: <CAFCRh-_BSW8VRPPQU6OrKmLZmk1+-0GvbBObgkMmqWf2_YqMkQ@mail.gmail.com> <CAKFQuwZK=Gsuwts9gcje8-vQ8ZXoGcm1CHgo9oVTzowOVKi9TQ@mail.gmail.com> <CAFCRh-9D37RTFNAFm-r+trq63kpk_M4cWGQ5_oG0hM+9QHLe7Q@mail.gmail.com> <bc7e0ae1-019f-affb-4978-869be88f63b4@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox