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 1ucHRM-00B7Sv-64 for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Jul 2025 05:45:56 +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 1ucHRJ-00GrHN-Uo for pgsql-bugs@arkaria.postgresql.org; Thu, 17 Jul 2025 05:45:54 +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 1ucHRJ-00GrHE-MZ for pgsql-bugs@lists.postgresql.org; Thu, 17 Jul 2025 05:45:54 +0000 Received: from fout-b5-smtp.messagingengine.com ([202.12.124.148]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ucHRH-008CKE-3D for pgsql-bugs@lists.postgresql.org; Thu, 17 Jul 2025 05:45:54 +0000 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.stl.internal (Postfix) with ESMTP id 62AEE1D0016F; Thu, 17 Jul 2025 01:45:49 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Thu, 17 Jul 2025 01:45:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; 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=fm2; t=1752731149; x=1752817549; bh=plDR/1zFt1 IO/EkbF3jd3on/Z3aZ5B5v25jKYTIKhVc=; b=b/dM8Ap1r4PHBfGFJF81AZrsIU dxlroP16n31OFOW9o5nIqYIKNo5jO06ZLXdGxoP/S+tDL7AAoVij0jmBTbY1rKnV 6b4NBZR13+lkphiqOkSGQ2FaBHKIi4gHBuSKfmeRvLihyxNK9NGv1DZqw7UB0Xev +8Q1kPIHgwsHSz70e00MeGz142r7cabdJNGoVM0vZnq2g/wLkHYRHlgXcPeFs1fd VbM+qTXjoqgWHX7bxBV4IPD1d8MvtLuQMI18K/TOraZgsyyPNFeH9CrkZsPcp9Fl i5LGc4KTIc03awmnvacJ16dS68QJAdswo4BrIDmX9xrMApVTaiPRoijqousg== 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=fm2; t= 1752731149; x=1752817549; bh=plDR/1zFt1IO/EkbF3jd3on/Z3aZ5B5v25j KYTIKhVc=; b=Qpvz+38KZbpsDxnZWZlh2S131ZojsY1g0VcHIQ9N2Dak4d3HHkF J1B64rph0i5yyh4U6vIRmo2U/5inafo7+pjfnE771oM5qhsxF1JIAQa/ZZ+djW05 bSweQZSbesg3Aueak3TGWrKKcSvR7jzrs5RbVJXERy7ijZVVxZrY0Z0HZyjMhRe9 L9t7oVUTtZDiXrK0MWpj7M47ZlKnw7m/fgMK3Ma2yb4wvVz4Y92TSoG7jf8Bd/2q UR6dgpuQoxTeecq0vnyKxulJ4G7CpxNC3f02LsAoDi52Rk8iw1JLKviJU5Hhskhk 0N8ZBSC4diEW0l8Dxji14izNx0hLee4/2Og== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdehleejkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdefhedmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeejjedtleelgeegleffudfhjedtuedv keektefhhfeuvddvueduueegfeduvedtieenucffohhmrghinhepghhithhhuhgsrdgtoh hmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhi tghhrggvlhesphgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohepgedpmhhouggvpe hsmhhtphhouhhtpdhrtghpthhtohepuggvrghnrdgrrdhrrghshhgvvggusehgmhgrihhl rdgtohhmpdhrtghpthhtohepthhglhesshhsshdrphhghhdrphgrrdhushdprhgtphhtth hopeihsehllhhlrdhgugdprhgtphhtthhopehpghhsqhhlqdgsuhhgsheslhhishhtshdr phhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 17 Jul 2025 01:45:42 -0400 (EDT) Date: Thu, 17 Jul 2025 14:44:53 +0900 From: Michael Paquier To: Dean Rasheed Cc: Tom Lane , y@lll.gd, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18986: SIGSEGV in nodeModifyTable.c during Parallel Execution Message-ID: References: <18986-e7a8aac3d339fa47@postgresql.org> <937261.1752603233@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IKXNPYR1qWgp7Rs1" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --IKXNPYR1qWgp7Rs1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jul 16, 2025 at 02:05:06PM +0100, Dean Rasheed wrote: > I decided to do this by adding an extra "is_merge_update" boolean > parameter, rather than passing the commandType because that looked > slightly neater. It was also necessary to update > ExecBRDeleteTriggers(), since otherwise a concurrent MERGE DELETE > could do the wrong thing (execute the wrong action, rather than > seg-faulting). That was picked up by an existing isolation test case > added by 9321c79, so no need for more tests. Looks sensible here, for the HEAD and v17 flavors. > I haven't tested this against the OP's reproducer. Except waiting for the OP to actually test the fix, I'm not sure if there is much that we can do. Anyway, the stack that one gets with the isolation test is very close to what the OP has reported, so I'm ready to bet a coffee that you have been able to narrow this one down. I have also raised an issue to timescale to make them aware of the issue. I have no idea if this is an issue for them, just acting as a reporter: https://github.com/timescale/timescaledb/issues/8392 -- Michael --IKXNPYR1qWgp7Rs1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmh4jdUACgkQnvQgOdby QH1N9A/+ObkqLnq+KJglSA2ANrVes9/jpkjkf0zjpu44CaA3kAUDje5gf0Dq1ttN alduk4mqBC6wV20FvvCa84P9dxAWvKKiDhNt5xXnL4MQjKwyWKNzvYdxyiEFVM4T 5fFEx6SK19TEAuYm59YmSyp+Qsx+xD+A3NzF1RGcRz+Rwru9QP+1vZBXKBdccLkL dTWcyiJqP0bfNNNIkRGw7ch7lWeBXGui3K1dTrppSzS+eTX43dmyURgF1otLoino zYZQ958Wsj3Kx88HmY4Is0yl3g53ABNvTM8/OJzQwrmid4plrddcCYWBdjx0xHq7 +OlaCahSc4nxxIcNfm9VTfA3mF2WoOErwi7QPA5VxSrLBLDBhJewNM1eY6DebMFB YgMpXJSHK7itKdmf5Ppue6iGCsiSy0Z9OAFE2QIQ8jya26zp21eA+Zybyx68TBih jd/X6obJG46C1HauVRPt0+giWp0yGChV4xJmlnZbBGQqgDebkGaiY3KxfgmKdulo xNBc+DqqmQjIa/xQ2lewQ4+A0Aap4xiM+7v6gba9b6fi9Nwxo87IHA8HXvjIjfsR roq43P8OwU/SMyMIz8oo5Q+vqFWOIyNinG184GC70H6NeKML6O9UEg5VnU6q1sbl FkYrcootzhgVDJiJZyqHrfLry3CK5iAlopymjOldjlSdZiB3XXo= =z9/O -----END PGP SIGNATURE----- --IKXNPYR1qWgp7Rs1--