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 1kkjml-0002nI-RK for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Dec 2020 08:16:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkjmk-0007Gz-Po for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Dec 2020 08:16:18 +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 1kkjmk-0007Gs-Il for pgsql-hackers@lists.postgresql.org; Thu, 03 Dec 2020 08:16:18 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkjmh-00046t-4t for pgsql-hackers@postgresql.org; Thu, 03 Dec 2020 08:16:17 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id E871C232932FA for ; Thu, 3 Dec 2020 01:16:12 -0700 (MST) Date: Thu, 3 Dec 2020 01:16:12 -0700 (MST) From: legrand legrand To: pgsql-hackers@postgresql.org Message-ID: <1606983372910-0.post@n3.nabble.com> In-Reply-To: <20201203010051.GA8050@nol> References: <20201202040516.GA43757@nol> <20201202063241.GA51769@nol> <20201203010051.GA8050@nol> Subject: Re: pg_stat_statements oddity with track = all 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 Hi Julien, > The extra field I've proposed would increase the number of records, as it > needs to be a part of the key. To get an increase in the number of records that means that the same statement would appear at top level AND nested level. This seems a corner case with very low (neglectible) occurence rate. Did I miss something ? Regards PAscal -- Sent from: https://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html