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 1oo7cE-0004p5-QQ for pgsql-bugs@arkaria.postgresql.org; Thu, 27 Oct 2022 18:28:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oo7cB-0002xu-Nc for pgsql-bugs@arkaria.postgresql.org; Thu, 27 Oct 2022 18:28:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oo7cB-0002xk-FH for pgsql-bugs@lists.postgresql.org; Thu, 27 Oct 2022 18:28:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oo7c3-0004J6-Lj for pgsql-bugs@lists.postgresql.org; Thu, 27 Oct 2022 18:28:25 +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 29RISHq4748393; Thu, 27 Oct 2022 14:28:17 -0400 From: Tom Lane To: Julien Rouhaud cc: marcus.kempe@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17668: Query normalization generates multiple queryId:s for calls to the same procedure In-reply-to: <20221027160834.uxhmt473grlpfv5x@jrouhaud> References: <17668-e25abc1f5375b095@postgresql.org> <20221027160834.uxhmt473grlpfv5x@jrouhaud> Comments: In-reply-to Julien Rouhaud message dated "Fri, 28 Oct 2022 00:08:34 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <748391.1666895297.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 27 Oct 2022 14:28:17 -0400 Message-ID: <748392.1666895297@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Julien Rouhaud writes: > On Thu, Oct 27, 2022 at 01:49:18PM +0000, PG Bug reporting form wrote: >> I would have expected both calls to be normalized and fingerprinted to = one >> and the same queryId. > Agreed, and that's actually a known problem that is currently being work= ed on. > You can look at > https://www.postgresql.org/message-id/flat/36e5bffe-e989-194f-85c8-06e7b= c88e6f7%40amazon.com > for details about the discussion and in-progress fix. Um ... that seems unrelated. AFAICS the OP is complaining about the fact that '42'::int4::int8 is not identical to '42'::int8. Well, they're not. I seriously doubt that we would or should consider trying to get queryjumble to mask that. regards, tom lane