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 1txKCO-006hMN-82 for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Mar 2025 06:25:12 +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 1txKCM-00FvJV-My for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Mar 2025 06:25:10 +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 1txKCL-00FvJD-VF for pgsql-hackers@lists.postgresql.org; Wed, 26 Mar 2025 06:25:10 +0000 Received: from fout-b3-smtp.messagingengine.com ([202.12.124.146]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1txKCJ-001Dt9-0y for pgsql-hackers@lists.postgresql.org; Wed, 26 Mar 2025 06:25:09 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 028871140136; Wed, 26 Mar 2025 02:25:04 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Wed, 26 Mar 2025 02:25:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1742970304; x=1743056704; bh=6U1rvY+9A/ 1CZddp1Pc0cxnSpIpLnRqH4lyQyf1HG9I=; b=iXLm5wKu/2KN0ZhQ691PPcIVCb XeHwnCjnzJGUHw6N4d1sUDBqhj8TLzD8d2oOIQ+vHA2b+EMq8gv3xikz9RYMHc59 KQqZj4oRRSuU9stVFsaFynwQ2lqf9j5uHoqWK5UPAzU6aaxKXgmzuj51/ACDGcBO aCEIjD7dYuJhd91XbJCpn+kIzXzTYoJmaCgyUuwbf3RO89C4NIhrKf2VK3mkqyCI 72i5nVWCVH4N3fmrWbTVYwnn8l4yrRUjwaZke9vVeXqRpYlwv9+8vLjUreYvOe9b CJjVD+AnoCZIWRnd+vdV+LAc/ZKFxoeAMQEnxZYHJDuvmTRZ1uhI2WYPeu9A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1742970304; x=1743056704; bh=6U1rvY+9A/1CZddp1Pc0cxnSpIpLnRqH4ly Qyf1HG9I=; b=Dw9PLmslO2gwoBTfAOcxZOaszkUjSL8cSUbTaQKvpdNpxah6g5p +BbICtHp7stGXJla9o2aFQxnRmLOHS59tz2cjXVXwnD4GEr0KW6A/a896k6i1/mT SkHi9z0mcsVFshG7rzHisXa0s++9Sx6tlbIksPB3ZfmkCgvNAN4J2Kk+RWn3M6zO uLDTgQIDN8WnVZ4Fe4vQUYC3DOLRcDnHFzdwuMQlc13rqGNY+/NDxyDJap5A8AKo ZhJWGbFtAO5k0JSc+MB93Fw5nmyf/ofT01tYcQm651Nh3QjK5QFUASd7m9V5i1TX YJNzI04iEmPWzIPQtsVToJDInP0noBE9Y2A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduieegkedtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnegfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefu kfhfgggtuggjsehgtderredttdejnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivg hruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhep veetjefgjeevgedukeehieeuieeuieevueeiudegheevuefggfduueelgeelieetnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggv lhesphgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohepiedpmhhouggvpehsmhhtph houhhtpdhrtghpthhtohepshgrmhhimhhsvghihhesghhmrghilhdrtghomhdprhgtphht thhopehtghhlsehsshhsrdhpghhhrdhprgdruhhspdhrtghpthhtohepmhihohhnseguvg gsihgrnhdrohhrghdprhgtphhtthhopehluhhkrghssehfihhtthhlrdgtohhmpdhrtghp thhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrd horhhgpdhrtghpthhtohepmhgruddttdeshhhothhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 26 Mar 2025 02:25:02 -0400 (EDT) Date: Wed, 26 Mar 2025 15:24:49 +0900 From: Michael Paquier To: Sami Imseih Cc: Tom Lane , Christoph Berg , Lukas Fittl , PostgreSQL Hackers , ma lz Subject: Re: query_id: jumble names of temp tables for better pg_stat_statement UX Message-ID: References: <70BA294B-5A33-4F47-A637-8011C1F279CB@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ai5/8qrZsKwpePf2" Content-Disposition: inline In-Reply-To: <70BA294B-5A33-4F47-A637-8011C1F279CB@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --ai5/8qrZsKwpePf2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 25, 2025 at 07:56:29PM -0500, Sami Imseih wrote: > FWIW, the pg_stat_statements docs in a few places refer to=20 > queries that may look different but have the same meaning=20 > as =E2=80=9Csemantically equivalent=E2=80=9D, this is why I used the same= =20 > terminology here. But, I have no issue with the simplified > rewrite either. >=20 > The patch LGTM as well.=20 If any adjustments are required, it would be always possible to do these later. Anyway, workloads with a lot of temporary tables are going to benefit from this change, so let's see how it goes. Applied, after eyeing much more the PGSS dumps from installcheck before and after the patch, to make sure that I'm not missing something.. -- Michael --ai5/8qrZsKwpePf2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmfjnbEACgkQnvQgOdby QH33xg/+NNWYuJUq30cg4mKZSc7+TEJfO4xAS45jC1KBLFl4HltMcQucPuR+yeTi QlEr6Np36u9HNU6ZPrm13vcufsUCwCVuU8nwQ1LtBlRmWSH3NQhzm2adtZrYoMI7 JwnVIKXV7NmOTzWJIkOGI7+eQsVenfg8sn9sIE0ufSdoM1Aii6MY+wIn4E5Niyet EKRUXax/B1Zb2bLCO2CCwO+nbuPyI1Q6TnFapDx+iRG7sGIm3SfP3DBW7w0L+8GS wGy4J52+9onIFc+STPL2PTnQzYJo+dqt4o5LQsljLseAU6uqSukTPOjLQSIQPfPB w8W1Y9hedkdNkChXqnlEYpCMUyGt8hO5JbaefjD9yyM/uOAAp7qII/snEAEuhDwr nJrxjuN3dsu6q8tMCvaz6sf71eVcAcrSBRMBqAaCCL4QtzxNXk5yf+KXm56tZE6z 6DPw3UWv2JVtyF6+aqotoh6wfnZdxtx/YegCm/16hsTUGnRMBGiXP301L14CA3un P/0xljrJk/+0IxCuY2UUxWZ5HEblSYryND7tLPvlgJxCTiZMSortbup8XzXYUbHh Fw0oINCE+oyraXn+Wbnzpq/6tEUhtOo4XK4KwYV0uPCjm80whgc9286chUu41icn jxV13cckBwIo7rLjs+JimnnLkcYejYoYrE1rk8H13u3F2s5phAY= =92VT -----END PGP SIGNATURE----- --ai5/8qrZsKwpePf2--