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 1reO43-00B6Qo-Md for pgsql-hackers@arkaria.postgresql.org; Sun, 25 Feb 2024 23:37:48 +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 1reO41-009Qff-A7 for pgsql-hackers@arkaria.postgresql.org; Sun, 25 Feb 2024 23:37:45 +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 1reO3z-009QfX-7F for pgsql-hackers@lists.postgresql.org; Sun, 25 Feb 2024 23:37:45 +0000 Received: from wfhigh1-smtp.messagingengine.com ([64.147.123.152]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1reO3q-0011vx-OJ for pgsql-hackers@postgresql.org; Sun, 25 Feb 2024 23:37:42 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.west.internal (Postfix) with ESMTP id D3E291800084; Sun, 25 Feb 2024 18:37:33 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 25 Feb 2024 18:37:34 -0500 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=fm1; t=1708904253; x=1708990653; bh=qpPGEMn+Ch 6QThO4V7rGl+qhhrv6o+quKOqUGXzLZ8Q=; b=A22Zp9tsUEhwlt4o99ple0nRBD MjoAH4/yua8IqEMNwOXX9XSBltvbUSp8QgNgQmMRMmT0SPTyTLt3hMwPLuJMcx4t VLdcN/1H/RIoUBSlapITp4Z7LphTpMfOrPLuJg+s12tFl45o6W3OND1BAc9A1mTA m7oV86fOVklaPn26lSKMfwb8dYmlABdWgtr7hbH0wZFFhKO4apFYdEyz8+ZFiPjO yY2VfTChR2cbQnCJv1lGCaypvGt+mjLMbFhWFZ9Lx8+k32zsBCyaIPPqKX+rxTP2 5B+DA74sdwFdX4TvtIneaKIoAZLo0d85ZEJjJA91ukV5i46xKAAZ8dq2XXQw== 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-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1708904253; x=1708990653; bh=qpPGEMn+Ch6QThO4V7rGl+qhhrv6 o+quKOqUGXzLZ8Q=; b=hoMEUpq84RXB+CSDbwgkx1FZLFxePHacfhNVc0Bgz85t zB5hNiftj1/jZT9sppJZVq280yYPGm8rb8jC5plq6NgwIAM6KImrIfXL+k+woTNV JO5X5QSXrDATD3+zg9QBaZnIYczsXZY/glWS2DaGUOb8uZRbJLwLdN7B8vV5K43T ZsWe7k3se7uwQrN3Jw4+dv/yagY773ZQ+AF7C+rM1E/iqSLaFMj3PLpkqF5K0PrK nntlTOaunpS2xwtW3I3TJmUlhtk5vS0WuPw92428A4yhaMiJnB9QWvr8ZsTo/fm7 1gLGWyWNKJYhO18LrI8/dNxubXj6sHoNp2Ri/I6VWA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgedugdduvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeg geffhfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 25 Feb 2024 18:37:31 -0500 (EST) Date: Mon, 26 Feb 2024 08:37:20 +0900 From: Michael Paquier To: Etsuro Fujita Cc: Alexander Pyhalov , Pgsql Hackers Subject: Re: ExecAppendAsyncEventWait() in REL_14_STABLE can corrupt PG_exception_stack Message-ID: References: <425fa29a429b21b0332737c42a4fdc70@postgrespro.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EtfEpGyw4bN55VEF" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --EtfEpGyw4bN55VEF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Feb 25, 2024 at 06:34:30PM +0900, Etsuro Fujita wrote: > I think this would happen when FDWs configure no events; IIRC I think > while the core allows them to do so, postgres_fdw does not do so, so > this would never happen with it. Anyway, thanks for the report and > patch, Alexander! I don't see how that's directly your fault as this is a thinko in the set of commits 481d7d1c01, 555276f859 and 501cfd07da that have hit 14~16, ignoring entirely the TRY/CATCH block. Anyway, if you want to address it yourself, feel free to go ahead, thanks! I would have done it but I've been busy with life stuff for the last couple of days. -- Michael --EtfEpGyw4bN55VEF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmXbzzAACgkQnvQgOdby QH1zBhAAjW8vgDh6N+mEyshSNugBBGyV45Ia6uwHNH3fXnvI2IPG8dKj5dZlKswa 784fbPyowNnMKQFwzXUfxx53Ylms/0LfFqfnyCvqWoGW4K3nkmbqNQpUzTIgQ04C MtTCTrKUNY3SYHMzd2tu1Pu33z1J9te+ltW4KOwbvURUN56mobuwH+J4ZVXCY/Bq iPC4MuMBlukGbEwwKv+CH5Wu/aP7pqiXVr+sh9CpUoLuY4WkKffTCwKf8pXbG07F i9mq3CXtv8OU84nwGNc79LPEfvvCRrdLrxy1/mciPry0YpCopjIvkeC6h6ja2lDk Qi7URq4AdnPyyMuSz4rKyReSI3ZvcQjRCm91Cu1p89/72RIC5lJpmEUBejOjWAnH 1gPwK3o3MACTm70trTsqxgYL1kEP3bIaWzxrWGDegi3Qnzy0oeTBJZgv/83yWpgU xFKeoYDLNkRkMJTBjJsIooAEen2BVOTCabc7T+eSDbNHgPeTcWoexGJ+SQ4tfZSw Ioy5ZT4MSOHJOUQVextKj/GWeWeuiDEwUjYV4L6h/X9KYiDQB1KTN86Cpq5T8CIa DS5o442S1uNPPsqd8e88PrTxjdlSKaLDpLCT8zVpzFtddrAHf1vHHvXuXs0c0dTc BlknvPUag6INCuJq9CBGIdCXmOiyroJLoedNAtOLjTr+y5YUaOI= =VJwO -----END PGP SIGNATURE----- --EtfEpGyw4bN55VEF--