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 1ubzhN-007jNS-9L for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Jul 2025 10:49: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 1ubzhL-009LgV-BA for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Jul 2025 10:49:15 +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.94.2) (envelope-from ) id 1ubzhK-009LgN-Ab for pgsql-bugs@lists.postgresql.org; Wed, 16 Jul 2025 10:49:15 +0000 Received: from fhigh-b6-smtp.messagingengine.com ([202.12.124.157]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1ubzhJ-007Z2k-0N for pgsql-bugs@lists.postgresql.org; Wed, 16 Jul 2025 10:49:13 +0000 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfhigh.stl.internal (Postfix) with ESMTP id C43C67A00BA; Wed, 16 Jul 2025 06:49:11 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Wed, 16 Jul 2025 06:49:11 -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=1752662951; x=1752749351; bh=IF8k2t9uF+ hcyzYAXix81FKgsOSlAff9PUZW9mXdcRo=; b=SkpYKsjZ4T+uYyPHr1HvO+1lt5 vLKsa3cGH8i4VU1TkoUNzJMEa8cYSYJia491PCpV5taMFiWd4XKSmelYSfp7uGys 2Fi0dBSoVeO08B4Fn4sHMvldMnxYFd8Y9+ALEHYkE0h2xia/BFm3M+BUqyewPqkE EgrQW6+rbOSM/K9L2nf4Cm4MXDxRHpqPTTBhgioAwR45mxA8v2CCS/XL+IXacdYV sAYb14gkQlcxRe5wffBEtve0ql/5rbobNGKo5PrdELoBuWyMMvbngSa06LH39xkA uXUD3TEHLXQoCZWskwUADdPOlMPHGAbRpcl3MVQGFGnppeWIiAYouz590naw== 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= 1752662951; x=1752749351; bh=IF8k2t9uF+hcyzYAXix81FKgsOSlAff9PUZ W9mXdcRo=; b=FadI/T8jtnqDvIn+nqpggV+B4bmRbUBHuuodxdlDTooWH+SI+LA MXYro75xk6N1Ae9k/5liOtyiihG85txXJO848oVEbKfN2xLmXGsK2e9Mnr5rmDtg /RxbfpXxMc1xXfwk7tiOaLXgy3BoYj8oqd409j7c2MhP0SAoC1yiM0t8qitRq1Mu vyZ92qtxFB0RGBGrfVKeW6WQE5uhIoAav3mHI/XGKEQii0V2wge5ctcmlW6IHXDV jQcyeC09Dv4MYSTfDpGwmHvN7CjRu3XrjjyYpCFVqgwYb786q5vEKaif1XgQ5e7q PxqbLu3sAYfXgKl/mHjHBNoVJQ+OpXo31+Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdehjeehtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeggeff hfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiipdhn sggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeguvggrnh drrgdrrhgrshhhvggvugesghhmrghilhdrtghomhdprhgtphhtthhopehtghhlsehsshhs rdhpghhhrdhprgdruhhspdhrtghpthhtohephieslhhllhdrghgupdhrtghpthhtohepph hgshhqlhdqsghughhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Jul 2025 06:49:08 -0400 (EDT) Date: Wed, 16 Jul 2025 19:48:55 +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="x4npSzoH4v4jWygf" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --x4npSzoH4v4jWygf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 16, 2025 at 11:42:33AM +0100, Dean Rasheed wrote: > Attached is a reproducer using the merge-match-recheck isolation test. >=20 > I believe that the bug only goes back to v17, because MERGE could not > appear inside a CTE prior to that. That was fast, nice! > I think that best thing to do is pass the commandType to > ExecBRUpdateTriggers(), except that in v17 we shouldn't change the > signature of ExecBRUpdateTriggers(), so a wrapper function will be > needed, similar to what 9321c79 did. Yes, changing ExecBRUpdateTriggers() would not be a good idea on a stable branch.. I can see that at least timescaledb does a direct call to it. A minor upgrade breakage would be bad for them. > Question: Is it OK to change the signature of ExecBRUpdateTriggers() > in v18? We are still in beta, so that's not a problem for v18 and HEAD. -- Michael --x4npSzoH4v4jWygf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmh3g5cACgkQnvQgOdby QH260Q/9Feh3Otj23FX5y0j5s5RNDhwIZCklOH83o6OXrq6xZRUJZaDeyH8sg5nN CDNuZpxn6XlxSPtC+jrQPcCQm0qdaB6x+BbpeWCzAWel554wXo9vEeLe93IVGp37 RsMrR8LxIMrSASL6Gik+6vS0jBo2bePhBfovK7RTl24Yv1yMQRUuGe9+P3FRvFpO sDVQYdlvnkXPgNPbd73cm9pHfIhoVksFgOJSTMdeJ6tpcGwAQ+F2zNq4IMbjMsSZ fNORo76wI458evj4LG3erOPqMRPumCw0DZuYzomGHKT5luPNH8rNG+Yy6gqFDKMS uz2xlml9DBKj/5XmGhoBOa+R34J5knTf/EJcHmqJVnOemeG65jDjJceAy8yNszq6 Eq9xYiYkLeewJ5QhnPumm/CppHyPtx3bhJTEPMUOgtH2rB+ZxakHUU+c8QgZ3jiw 9gmFnCxq/muiHEn/Sri7UDI3s0quBfPXa5lQ/59w4iUcP4H+Jw60s1S2k8d9og48 1edGZVzV2DNUuOcyJMVrPcEhXy4ki2gRsZNPCRGggQVDrwFmbXHNd5itoCuq1xFe sMXRIahkZuP8Q8uz8PmxVA/O5y1ay3cNKzr6lIINpLZ0KqCyCggBjFoqsK8v4QLB 8oTEMVlox0jZQqzZ1iw/5Ef+v/l03ZdnVMrgPGNPAAHK0Cbi60I= =woPy -----END PGP SIGNATURE----- --x4npSzoH4v4jWygf--