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.96) (envelope-from ) id 1vOfML-000MYD-0S for pgsql-hackers@arkaria.postgresql.org; Thu, 27 Nov 2025 17:00:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vOfMJ-007WEC-21 for pgsql-hackers@arkaria.postgresql.org; Thu, 27 Nov 2025 17:00:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vOfMJ-007WE4-14 for pgsql-hackers@lists.postgresql.org; Thu, 27 Nov 2025 17:00:43 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vOfMH-001mID-19 for pgsql-hackers@lists.postgresql.org; Thu, 27 Nov 2025 17:00:42 +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 5ARH0bIF132954; Thu, 27 Nov 2025 12:00:39 -0500 From: Tom Lane To: Sergei Glukhov cc: David Rowley , pgsql-hackers@lists.postgresql.org Subject: Re: Partial hash index is not used for implied qual. In-reply-to: <7009dd30-5d4e-49a2-af1d-c1b5f8e02288@postgrespro.ru> References: <1106189.1764033798@sss.pgh.pa.us> <1112416.1764036072@sss.pgh.pa.us> <1615744.1764181557@sss.pgh.pa.us> <7009dd30-5d4e-49a2-af1d-c1b5f8e02288@postgrespro.ru> Comments: In-reply-to Sergei Glukhov message dated "Thu, 27 Nov 2025 12:39:34 +0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <132952.1764262837.1@sss.pgh.pa.us> Date: Thu, 27 Nov 2025 12:00:37 -0500 Message-ID: <132953.1764262837@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Sergei Glukhov writes: > On 11/27/25 7:01 AM, David Rowley wrote: >> On Thu, 27 Nov 2025 at 07:26, Tom Lane wrote: >>> Should we back-patch? I'm unsure. Clearly it's a bug that we >>> cannot generate an indexscan plan in this case, but we've learned >>> that changing plans in released branches is often not wanted. >> Sergei, can you confirm if this was something he noticed when playing >> around on master, or if this came from a field report? > It was reported for v16. OK, I'll backpatch then. regards, tom lane