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 1tppaf-00CrGl-UX for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Mar 2025 14:19:17 +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 1tppae-00CByt-Il for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Mar 2025 14:19:16 +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 1tppae-00CByk-9O for pgsql-hackers@lists.postgresql.org; Wed, 05 Mar 2025 14:19:16 +0000 Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tppaa-0016yb-31 for pgsql-hackers@postgresql.org; Wed, 05 Mar 2025 14:19:15 +0000 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id DE66813826AD; Wed, 5 Mar 2025 09:19:12 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Wed, 05 Mar 2025 09:19:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; 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=fm1; t=1741184352; x=1741270752; bh=27sZVScAoX Fzqcf59jV0srSVch4oStYZ5nRCBfrkh0g=; b=LloLaZ3bxQ+OkfjfFUXNujiP/o thVG5bDX43m1T8UL9E4+TEYXgFmTG9OvDlbj0Su8dmOeLo1frvC4SK4BH45ZCarB 09MlOLE2YuKIw9EKFKpb98XLnrumZuiXWZub0CmmgjUnWzhW7F7ZIkKJrcxKPQt6 1gVhFX2I6aHMyCWU+H4XFhuf19tF6SGZYF8+KD68g6YMQg3SLBSj7U6W8qMmfzKI DGp8BDSsYC3WP+aW5pGvbDT7uYArLPkD4YJz2AZG23tXfZbdA2KtjepaTJd861ev thoXakx5BWOema3yBNbQrwRUUKxN82ZBdy3/KTpuikB8PgLUU2jfu+vj6Mhw== 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=fm1; t= 1741184352; x=1741270752; bh=27sZVScAoXFzqcf59jV0srSVch4oStYZ5nR CBfrkh0g=; b=TnTlocbFVuMr6vR/g8sERwjX48VOk3c6UB5L7Mkbxxypyv9/Bs4 +jXNaGbcWWH+xhxXETeOonmFcrVUV8N2PQnM+zdvSAb7fyw8hNtkT1HSGrQkd4TU MGOJG0Jl/gdEzT/tYbB3Cwsm/tWoTvqovU1nFk92R5g1qPmYrLq2vifgHD3SkRsw cJOiOC1AFgZzrgvOrGjg/pGFsS1hekfJNw6ilJlyoJrgxdOuAJp3C9o/SRF0ifTy EBWqsN3pg9W0OftPGWo1Q80WngOwYF2EGpTBiwFbp3EXJuy26sDI7OayMo6PgUB7 kKeoL6eULipauBZVFJgvxFcwQx97qycEpsg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddutdehtdegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhepfffhvfevuffkfhggtggujgesthdtsfdttddt vdenucfhrhhomheptehnughrvghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrg iivghlrdguvgeqnecuggftrfgrthhtvghrnhepfeffgfelvdffgedtveelgfdtgefghfdv kefggeetieevjeekteduleevjefhueegnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigvlhdruggvpdhnsggp rhgtphhtthhopeelpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehpghessghofi htrdhivgdprhgtphhtthhopegrnhgurhgvfiesughunhhslhgrnhgvrdhnvghtpdhrtghp thhtohepkhhnihiihhhnihhksehgrghrrhgvthdrrhhupdhrtghpthhtohepsghovghkvg ifuhhrmhdophhoshhtghhrvghssehgmhgrihhlrdgtohhmpdhrtghpthhtohepmhgvlhgr nhhivghplhgrghgvmhgrnhesghhmrghilhdrtghomhdprhgtphhtthhopehthhhomhgrsh drmhhunhhrohesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgv rhhssehpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehtghhlsehsshhsrdhpgh hhrdhprgdruhhspdhrtghpthhtoheprghkuhiimhgvnhhkohhvsehtihhmvghstggrlhgv rdgtohhm X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 5 Mar 2025 09:19:11 -0500 (EST) Date: Wed, 5 Mar 2025 09:19:11 -0500 From: Andres Freund To: Tom Lane Cc: Peter Geoghegan , Matthias van de Meent , Andrew Dunstan , Melanie Plageman , Thomas Munro , Konstantin Knizhnik , PostgreSQL Hackers , Alexander Kuzmenkov Subject: Re: Incorrect result of bitmap heap scan. Message-ID: References: <873c33c5-ef9e-41f6-80b2-2f5e11869f1c@garret.ru> <3091523.1740875715@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3091523.1740875715@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2025-03-01 19:35:15 -0500, Tom Lane wrote: > Peter Geoghegan writes: > > Is everybody in agreement about committing and back patching this fix, > > which simply disables the optimization altogether? > > I myself don't see a better way, but thought I'd ask before proceeding > > with review and commit. > > If you don't see a clear path forward, then "disable" is the only > reasonable choice for the back branches. Maybe we'll find a fix > in future, but it seems unlikely that it'd be back-patchable. I don't think there's a realistic way to fix it in the backbranches. And even on master, I doubt that much of the current code would survive. Greetings, Andres Freund