Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r0lxL-007kST-VO for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Nov 2023 17:03:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r0lxK-005zKP-Go for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Nov 2023 17:03:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r0lxK-005zKH-8B for pgsql-bugs@lists.postgresql.org; Wed, 08 Nov 2023 17:03:06 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r0lxI-005NrA-38 for pgsql-bugs@lists.postgresql.org; Wed, 08 Nov 2023 17:03:05 +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 3A8H2x68729930; Wed, 8 Nov 2023 12:02:59 -0500 From: Tom Lane To: Sergei Kornilov cc: Julien Rouhaud , maxim.boguk@gmail.com, pgsql-bugs@lists.postgresql.org, Tomas Vondra Subject: Re: BUG #17552: pg_stat_statements tracks internal FK check queries when COPY used to load data In-reply-to: <8152021699388597@fttg4r4wmjvthz4h.vla.yp-c.yandex.net> References: <17552-213b534c56ab5d02@postgresql.org> <20220718101955.5erjttxbbjupm2xr@jrouhaud> <430591679487667@lma6oifqwmuo4pt7.myt.yp-c.yandex.net> <8dd1ef3e-378c-83dc-229b-e3d3e251ac11@enterprisedb.com> <2831679.1698858927@sss.pgh.pa.us> <2869953.1698873621@sss.pgh.pa.us> <8152021699388597@fttg4r4wmjvthz4h.vla.yp-c.yandex.net> Comments: In-reply-to Sergei Kornilov message dated "Tue, 07 Nov 2023 23:23:17 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <729928.1699462979.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 08 Nov 2023 12:02:59 -0500 Message-ID: <729929.1699462979@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Sergei Kornilov writes: > Thannk you! I reviewed v3 patches. Looks good for me. I experimented wit= h different options (track_planning, track top/all, track_utility, simple = query and extended query protocols) and did not find any unexpected result= s in toplevel field. Cool. I merged the counters into one as I mentioned earlier, and pushed it. regards, tom lane