pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erik Wienhold <ewie@ewie.name>
To: kaido vaikla <kaido.vaikla@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_stat_activity query_id
Date: Thu, 11 May 2023 17:54:42 +0200 (CEST)
Message-ID: <1976126051.239630.1683820482344@office.mailbox.org> (raw)
In-Reply-To: <CA+427g81dsn_5QyFr-zduuAYZ_0H4=xWOBnT4fT79pbzLCiwUg@mail.gmail.com>
References: <CA+427g8qBArPuqwZOuYVhdoCQUsdbutR18fG7Gt7+3JunuHsjA@mail.gmail.com>
	<472115375.225506.1683812791906@office.mailbox.org>
	<CA+427g81dsn_5QyFr-zduuAYZ_0H4=xWOBnT4fT79pbzLCiwUg@mail.gmail.com>

> On 11/05/2023 17:35 CEST kaido vaikla <kaido.vaikla@gmail.com> wrote:
>
> * compute_query_id=off
> it is onpostgres=# show compute_query_id;
>  compute_query_id
> ------------------
>  on
> (1 row)

Is compute_query_id=on configured globally in postgresql.conf or only set for
specific databases and users?   Please check pg_catalog.pg_db_role_setting.

Any chance that the JDBC connections set compute_query_id=off?

--
Erik





view thread (10+ messages)  latest in thread

Message-ID: <1976126051.239630.1683820482344@office.mailbox.org>
Permalink:  ../1976126051.239630.1683820482344@office.mailbox.org/
Also on:    postgresql.org/message-id/1976126051.239630.1683820482344@office.mailbox.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ewie@ewie.name, kaido.vaikla@gmail.com
  Subject: Re: pg_stat_activity query_id
  In-Reply-To: <1976126051.239630.1683820482344@office.mailbox.org>

* 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