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 1lMY6M-0002Pk-Rr for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Mar 2021 15:28:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lMY6L-0005CZ-Pp for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Mar 2021 15:28:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMY6L-0005CH-J9 for pgsql-hackers@lists.postgresql.org; Wed, 17 Mar 2021 15:28:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMY6F-0005YF-HC for pgsql-hackers@lists.postgresql.org; Wed, 17 Mar 2021 15:28:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 12HFSci13518602; Wed, 17 Mar 2021 11:28:38 -0400 From: Tom Lane To: Bruce Momjian cc: Julien Rouhaud , Alvaro Herrera , Robert Haas , Michael Paquier , torikoshia , Atsushi Torikoshi , Tatsuro Yamada , Tomas Vondra , Evgeny Efimkin , PostgreSQL Hackers Subject: Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view? In-reply-to: <20210317151701.GA16650@momjian.us> References: <20201018030142.GA4069@alvherre.pgsql> <157599.1602994837@sss.pgh.pa.us> <20210314080645.uk5gonqifgasdvo7@nol> <20210317151701.GA16650@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Wed, 17 Mar 2021 11:17:01 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3518600.1615994918.1@sss.pgh.pa.us> Date: Wed, 17 Mar 2021 11:28:38 -0400 Message-ID: <3518601.1615994918@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Bruce Momjian writes: > We are reaching the two-year mark on this feature, that everyone seems > to agree is needed. Is any committer going to work on this to get it > into PG 14? Should I take it? I still say that it's a serious mistake to sanctify a query ID calculation method that was designed only for pg_stat_statement's needs as the one true way to do it. But that's what exposing it in a core view would do. regards, tom lane