query_id, pg_stat_activity, extended query protocol

From: kaido vaikla <kaido(dot)vaikla(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: query_id, pg_stat_activity, extended query protocol
Date: 2023-06-12 18:03:24
Message-ID: CA+427g8DiW3aZ6pOpVgkPbqK97ouBdf18VLiHFesea2jUk3XoQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have noticed, if query comes from PostgreSQL JDBC Driver, then query_id
is not present in pg_stat_activity. Erik Wienhold figured out that reason
can be in extended query protocol (
https://www.postgresql.org/message-id/1391613709.939460.1684777418070@office.mailbox.org
)
My question is, is it expected or is it a bug: if extended query protocol
then no query_id in pg_stat_activity for running query.

br
Kaido

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tristan Partin 2023-06-12 18:48:57 Re: Meson build updates
Previous Message Joel Jacobson 2023-06-12 17:34:58 Re: Do we want a hashset type?