Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1huAYy-0002Jf-Qd for pgsql-hackers@arkaria.postgresql.org; Sun, 04 Aug 2019 07:04:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1huAYv-00068t-Of for pgsql-hackers@arkaria.postgresql.org; Sun, 04 Aug 2019 07:04:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1huAYv-0005ti-C8 for pgsql-hackers@lists.postgresql.org; Sun, 04 Aug 2019 07:04:13 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1huAYl-00061H-Rg for pgsql-hackers@postgresql.org; Sun, 04 Aug 2019 07:04:11 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 8099B1608EF66 for ; Sun, 4 Aug 2019 00:04:01 -0700 (MST) Date: Sun, 4 Aug 2019 00:04:01 -0700 (MST) From: legrand legrand To: pgsql-hackers@postgresql.org Message-ID: <1564902241482-0.post@n3.nabble.com> In-Reply-To: References: <156456325840.1401.4726441619340285592.pgcf@coridan.postgresql.org> <20190731215909.xsygisccnirdld3f@alap3.anarazel.de> <20190801183632.7byx3knosxas4ih3@alap3.anarazel.de> <20190801210514.qdiam2oazua6otkk@alap3.anarazel.de> Subject: Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > However having the nested queryid in > pg_stat_activity would be convenient to track > what is a long stored functions currently doing. +1 And this could permit to get wait event sampling per queryid when pg_stat_statements.track = all Regards PAscal -- Sent from: https://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html