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 1vQpDe-0014yS-0r for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Dec 2025 15:56:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vQpDd-00EK4B-17 for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Dec 2025 15:56:41 +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.96) (envelope-from ) id 1vQpDc-00EK40-22 for pgsql-hackers@lists.postgresql.org; Wed, 03 Dec 2025 15:56:41 +0000 Received: from fout-a8-smtp.messagingengine.com ([103.168.172.151]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vQpDZ-002waJ-1t for pgsql-hackers@postgresql.org; Wed, 03 Dec 2025 15:56:40 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id 54D1AEC0402; Wed, 3 Dec 2025 10:56:35 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Wed, 03 Dec 2025 10:56:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm2; t=1764777395; x= 1764863795; bh=x3qSm1pXhlxA3NOlr5qtnYGNT9lfOXmR4JVJQQUk3ls=; b=N kWD7OPAV+UEWWjFTiDwmcPZWHrFsEjIa4hwcoUwOX1sFbHfLyAI1oLg3QQ48s4aL s7nhDWtKDK5bZY1i58QWYlbCwRBAY1tU7yZwEAsOyCMJhKOkNLjkLaRLAMM4GU/V oZf3csqwzuKPw4cejTf7NmvRm0TbKMj66rNVUO2fCo61Kc8v2iWcVNXvtKxxslC+ oG8t1Z4bUrgrEIwmTzsic2S5TWWM05ErJ8ZV2dgQAN0VHt9nSXNfdLFt5INmIBck Nsbr5gccjC9gF5Kq/sQY3KRPsQXESa0z0WWud+WGktg2jDam414yegjQqQelt1qL RUo3Rlv33CgxpmG7yxTRw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1764777395; x=1764863795; bh=x 3qSm1pXhlxA3NOlr5qtnYGNT9lfOXmR4JVJQQUk3ls=; b=Re3tfNL55oT0YsNai M0mCCBolcfyYe06Q1PkcTVvyM/9xWNcA7mvPNeH8Dws1dVLXRqEe2pRs1sCapS4i zn4KxX3uieMztThRBstdqk1ivBRbwD87I0gImPoxjOMJZIzVhzr8xRynDubDjPlS 3YJTLp/yiPShJke5ayj/utOCt+frm4PCA18UDUlKtNWR0sifbMAXK3yIMiaY/5r4 3f8Teu0ajg7oN0GVxKAzCibnjWQJZVwV5Edo7NjkFSIftkCkkU84jr/w4U2NdDDG dKukZ8CXh3648SlxdECecVCreePILsPiThgDbaDqWy9lMdzP2Ocv1kXRgpNGKjbP 31KtQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh epfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheplmhlvhgrrhhoucfj vghrrhgvrhgruceorghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvqeenucggtffrrg htthgvrhhnpeekgfekhffggfehvdfgtddvvdeiheevudeitdeiheekudehgfetteevkedt feekgeenucffohhmrghinhepphhoshhtghhrrdgvshdpvghnthgvrhhprhhishgvuggsrd gtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep rghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvpdhnsggprhgtphhtthhopeeipdhmoh guvgepshhmthhpohhuthdprhgtphhtthhopegvgigtlhhushhiohhnsehgmhgrihhlrdgt ohhmpdhrtghpthhtohepmhhihhgrihhlnhhikhgrlhgrhigvuhesghhmrghilhdrtghomh dprhgtphhtthhopehnohgrhheslhgvrggusghorghtrdgtohhmpdhrtghpthhtohepmhhi tghhrggvlhesphgrqhhuihgvrhdrgiihiidprhgtphhtthhopehpghhsqhhlqdhhrggtkh gvrhhssehpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehtghhlsehsshhsrdhp ghhhrdhprgdruhhs X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 3 Dec 2025 10:56:34 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1764777392; bh=2cQjB1TpzLuGg3JQ9/H0JAGHX495pt/pJBR3B+0tjoY=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=uTLpSp57si6NLXOAFzr/6ztOcYvmYo4Z8oHrZVxluUApFuzeTvwk3UDanT06xOj8A FO23Zv3o/7E+pd4VXDr8eRV0x9cBYptVohpYdPi68nHgcJpI8IttuLAO1/PEf4TKEu egtW1Fg4oZBR+cUXS5b7351VMEFWcC+63/wMPD6BEqIyNFk/UQXVlRAJiNhq8BobKV mMzNzDavNczYNZeJve5DIxsXpOh0beBYQuiq9dGIZNJeD/aUpJxHhOWvs9LLcUc90g tOB6Ad/elh6G5jcKm9GpXdpe6iGS3EZbhvvEw6eTqksNHJgtSGg/Uo2ctHieKwmh/7 lpGuUmvcmwX8A== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id B56C97B; Wed, 03 Dec 2025 16:56:32 +0100 (CET) Date: Wed, 3 Dec 2025 16:56:32 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Mihail Nikalayeu Cc: Tom Lane , Alexander Lakhin , Michael Paquier , Noah Misch , PostgreSQL Hackers Subject: Re: Issues with ON CONFLICT UPDATE and REINDEX CONCURRENTLY Message-ID: <202512031539.fp7glag6awxs@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Dec-03, Mihail Nikalayeu wrote: > Oh, my bad, sorry. > Attached patch with output variant for > RELCACHE_FORCE_RELEASE\CATCACHE_FORCE_RELEASE case. I have pushed this, thanks. > But for CLOBBER_CACHE_ALWAYS - it is just a mess, too many different > kinds of wakeup loops need to be done. I ran the tests under CLOBBER_CACHE_ALWAYS, and as far as I can tell, they succeed. We'll see what the CLOBBER_CACHE_ALWAYS members say ... assuming the other problems [1] can be fixed. [1] https://postgr.es/m/baf1ae02-83bd-4f5d-872a-1d04f11a9073@vondra.me -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "If you want to have good ideas, you must have many ideas. Most of them will be wrong, and what you have to learn is which ones to throw away." (Linus Pauling)