Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1px8d4-000156-3N for pgsql-admin@arkaria.postgresql.org; Thu, 11 May 2023 15:54:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1px8d2-0006xA-TW for pgsql-admin@arkaria.postgresql.org; Thu, 11 May 2023 15:54:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1px8d2-0006x0-JI for pgsql-admin@lists.postgresql.org; Thu, 11 May 2023 15:54:52 +0000 Received: from mout-u-204.mailbox.org ([80.241.59.204]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1px8cx-001lyT-Kl for pgsql-admin@postgresql.org; Thu, 11 May 2023 15:54:51 +0000 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-204.mailbox.org (Postfix) with ESMTPS id 4QHGg65VBDz9sd7; Thu, 11 May 2023 17:54:42 +0200 (CEST) Date: Thu, 11 May 2023 17:54:42 +0200 (CEST) From: Erik Wienhold To: kaido vaikla Cc: pgsql-admin@postgresql.org Message-ID: <1976126051.239630.1683820482344@office.mailbox.org> In-Reply-To: References: <472115375.225506.1683812791906@office.mailbox.org> Subject: Re: pg_stat_activity query_id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Normal X-Rspamd-Queue-Id: 4QHGg65VBDz9sd7 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 11/05/2023 17:35 CEST kaido vaikla wrote: > > * compute_query_id=3Doff > it is onpostgres=3D# show compute_query_id; > =C2=A0compute_query_id > ------------------ > =C2=A0on > (1 row) Is compute_query_id=3Don 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=3Doff? -- Erik