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 1vU0DR-00FKzs-1a for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Dec 2025 10:17:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vU0DP-007Wez-1D for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Dec 2025 10:17:36 +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 1vU0DP-007Wer-0G for pgsql-hackers@lists.postgresql.org; Fri, 12 Dec 2025 10:17:35 +0000 Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vU0DN-000K5j-0f for pgsql-hackers@postgresql.org; Fri, 12 Dec 2025 10:17:35 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 024711400208; Fri, 12 Dec 2025 05:17:32 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Fri, 12 Dec 2025 05:17:32 -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=fm3; t=1765534651; x= 1765621051; bh=q8Pnbveu3gj0gSfKwaFZu5oThaRQhHz9HyP6CjfEAlA=; b=l NUAGGt8KLKmlDZmgay5ZTVUx/vbSHj2aKK47reATcs9ZL6DIdgj9tZ2H6bO7n5m8 HD3Pwb38CKSLLahP3f76cVODqby3Sfn7yVIsps5jr7pnzX2d8BHq2hPvMQEeHHN3 1HAu7ZOtSpGJJE7yg4AM4coYkI3Wft5Uijk2D6fbowrSf6XJ8V674UHlEJLYB41s SSbAbgI9RJ+dbyPdVKGPUhzpviSAmkEbDoqiSOSbp+6PBzTZWVbNnTAhgyMESM3d s2IfUXUJB3dgDsW8ruaFkygDsukRItu2Re6lr9Ka+fpXTeu4kXK9ByuEok6eiQue mdZkSIGIJcS5/dDcWmvjA== 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=1765534651; x=1765621051; bh=q 8Pnbveu3gj0gSfKwaFZu5oThaRQhHz9HyP6CjfEAlA=; b=ul7gJPdf60hM23wDs xUE/vGxkpE3mG0bTb6NlhcPF/XfS5Kxv4seH2qUd+XW0hliB2Um+v8cfwbtvQGAA 4Ixph7jajzLTu3jjHZzHOlk86TBQ1tX8m4fMBsKEvdqE7WIOvlkpAF/AYyI2Cydx vDMBaudEf2gKNxJOvsF1jxHBx7EzigCMVAWbmyXyBhjYF77mGDGXg3vBiDP8G6my ZgEn3ABG/cd5H+IjcE2lz/bJPNTVaaShfwEAOibq/mpWIUvEZjXStnH1Us928poH HhugBrsw9CO+6CFHtR7fdRaCRug+ItN5azgmgxeFHpgDtdIh7LnFZfy+bIsjewNZ S8Fjw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvjeeludcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpemllhhvrghrohcu jfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgeskhhurhhilhgvmhhurdguvgeqnecuggftrf grthhtvghrnheptdehhedtkeffffetfeekhffhffegtefhjeekveeuveduuedugeffleei veffheefnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhdpphhoshhtgh hrvghsqhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomheprghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvpdhnsggprhgtphhtth hopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehmihhhrghilhhnihhkrghl rgihvghusehgmhgrihhlrdgtohhmpdhrtghpthhtohepnhhorghhsehlvggruggsohgrth drtghomhdprhgtphhtthhopehmihgthhgrvghlsehprghquhhivghrrdighiiipdhrtghp thhtohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 12 Dec 2025 05:17:31 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1765534650; bh=C3UOkdRq/0ogRXd5TZd//71IOy/EBBEXx+W5SVYI8Y4=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=akOFGxQk1jHXPPBPsruziYV5WDFLO7G9M2d5hFoAtoH5UM2SY6jbBEDxCtOZnplU8 Pd7BtHdKs00Fh+odH5MvKZKsbgUVqbUxfGXQGF9HKcPU0+1ch6O3Jmpe0x/H+HtTr1 0L/Z66E0jgcdJUK/BC4OCbb4XHhys2xmWFcMORzBzFIOI1P5le9/tdk9YXwGtGqczv 049ZpxwHmle+2K7jPAeP5huJ2ZgxuvQjSeKwZR2Cns2sGbP6aB2Qh+wHH5trz+gUTK QByLznX3Ldl1W0WLCjDbs+nBpynpBqVtkKX0zqk6srUCnpLy/9QGCGcgQXlR/Oiy09 XJKgcko8HA/fw== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 1DB5678; Fri, 12 Dec 2025 11:17:30 +0100 (CET) Date: Fri, 12 Dec 2025 11:17:30 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Mihail Nikalayeu Cc: Michael Paquier , Noah Misch , PostgreSQL Hackers Subject: Re: Issues with ON CONFLICT UPDATE and REINDEX CONCURRENTLY Message-ID: <202512121012.ujrcg2acbagu@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-12, Mihail Nikalayeu wrote: > Hello, Álvaro! > > On Thu, Dec 11, 2025 at 10:36 PM Álvaro Herrera wrote: > > I just saw a failure in CI for an unrelated patch > > I'll try to dive deeper tomorrow to find a fix, but it feels like we > are doing something wrong here. Hmm, this is a good point. > But currently we are just trying (not the first time already) to make > sure OUTPUT of the test is EXACTLY equal to some variant. A low-cost option might be to add alternative expected file(s), which matches other variant(s). I think trying to make isolationtester "smart match" the output might be more complicated than is warranted. > I am afraid amount of time needed to stabilize such test (in its > output, not the sense) is not cover potential value of it. Yeah, could be. > Also, I imaging someone changing something unrelated (catalog snapshot > invalidation, for example) and test starts to fail on some rear animal > once a week.... Ughn. Another idea might be to rewrite these tests using BackgroundPsql under the TAP infrastructure. That's quite a bit more tedious to write, but we can be more precise on detecting whether some particular error message was thrown or not. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "How amazing is that? I call it a night and come back to find that a bug has been identified and patched while I sleep." (Robert Davidson) http://archives.postgresql.org/pgsql-sql/2006-03/msg00378.php