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 1v4U71-00Gb0q-4I for pgsql-bugs@arkaria.postgresql.org; Fri, 03 Oct 2025 00:57:31 +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 1v4U6y-00AD9Y-RI for pgsql-bugs@arkaria.postgresql.org; Fri, 03 Oct 2025 00:57:29 +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 1v4U6y-00AD9Q-It for pgsql-bugs@lists.postgresql.org; Fri, 03 Oct 2025 00:57:29 +0000 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1v4U6w-0017j5-2g for pgsql-bugs@lists.postgresql.org; Fri, 03 Oct 2025 00:57:28 +0000 Received: from phl-compute-11.internal (phl-compute-11.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id 24E9414000F0; Thu, 2 Oct 2025 20:57:27 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Thu, 02 Oct 2025 20:57:27 -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=1759453047; x=1759539447; bh=Nqi3/hvlVf kcCrThVN9Z9BG80cxHFSCmE2E3aFlxrZY=; b=IdQnBs1OHrSY4xPhVDlSwM6OLK EmO/Ang6qCevzW4umJoEObvK0+qTANiCAj43yXXWBwdA4p7xyyQ2FyJ4KK/szdef juUzihJLaL6Fi9wBfHJ7APZZnCavBVCDrFq7cJ2UPWvuDz7BN1uADpHyZTLLBDmZ //SPM/pec/gy9c+SMEeOTGYmM0Jj+rsU/XEyk/grQhcLW9f1UOgk35gKM4mS8HFd 2zPWcNogWb8iov+oZjblEnQIJS3DmldiZVOU8dt/p923NvS3Z0w4H3QIJf2tC7/Z s/6cG7Wf8jTI6mO4b7Xy1HAM2gGzGFG4HcYAX5J1kwkZotVOYAS7E9Arhqzw== 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= 1759453047; x=1759539447; bh=Nqi3/hvlVfkcCrThVN9Z9BG80cxHFSCmE2E 3aFlxrZY=; b=c22EIykPl2/ur/PdpVhdTBUFTC7gCEdrMfwnT1WHEz+8UGIoSQi p3DZLYqQ97sgSyXkzA6vaaKe7rWnqfrL+edCFmMvge87F1seup/Zm9Wu0L4iYyZF 905akI3SonKPMIuei9Dcq41z/pQTVjoEyx9vqpdJCbqFbMCoatEK2JTmEuC42yvO 1imDGmH7abTMuWiZvFciH23YuK4SXtEPMdfztStgR/PMyIzbpFqva3Gfs7ajEiXd gBmCwOA+uA7Mnr08tc0JVtIxkiIi7JG4242idk2fGyUjH7jZGk+r/7q4puhyB6/r waS+H7oqRF08NqyHlDn8Lv0MLT4ZbHpo76Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdekjeehudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeggeff hfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiipdhn sggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehsrgifrg gurgdrmhhshhhksehgmhgrihhlrdgtohhmpdhrtghpthhtohepvghtshhurhhordhfuhhj ihhtrgesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdgsuhhgsheslhhish htshdrphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepkhhrihhsthhirghnlhgv jhgrohesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Oct 2025 20:57:24 -0400 (EDT) Date: Fri, 3 Oct 2025 09:57:07 +0900 From: Michael Paquier To: Masahiko Sawada Cc: Etsuro Fujita , PostgreSQL mailing lists , kristianlejao@gmail.com Subject: Re: TRAP: failed Assert("outerPlan != NULL") in postgres_fdw.c Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MkyYC/7LsFLlylc6" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --MkyYC/7LsFLlylc6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 02, 2025 at 03:20:32PM -0700, Masahiko Sawada wrote: > I've updated the patch based on your comments. Please find the attached patch. Looks sensible here in shape, a few style nits noticed while reading. x +# This test exerices EvalPlanQual with a SubLink sub-select (which should +# be unaffected by any EPQ recheck behavior in the outer query) The setup phase has a mix of tabs (used in the DO block) and spaces used, that may render weirdly depending on one's setup when showing the diffs. It looks to me that your intention is to use spaces. s/exerices/exercises/ And I would add a short explanation about the reason why this script exists at the top of eval_plan_qual.spec. If you don't feel strongly about that, feel free to ignore me. One other bit I have noticed on the way, due to the extra whitespaces at the bottom of the file: $ git diff master --check contrib/postgres_fdw/specs/eval_plan_qual.spec:52: new blank line at EOF. -- Michael --MkyYC/7LsFLlylc6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmjfH2MACgkQnvQgOdby QH3ryw/+ICyzDJXnD8PBfx4DA4UUcZEZw6HEU88O593ojZWN1jJsu0HFuK3Kujwf ZVh51jCgM55szvQk4Eq939J2kcAxWEx4hafH5Z4VSv7iMAh0hzVN2hMjDSHjS9uc JUxAdvQ8YB8tYSOg1nm2uJPUphRS9YWYwAfUis1LQX2xZbgBA9Vn0AI4baxV1SYg AK1elMum3FZASer8cPmylAZLp04rmclqzCDbQQlZuVDCHUm2dKamVLBTBsqv+nKR fNBO4usExJ+B4WcjN+AflWqyxVoRlj2moNCcH54j0HL8u3M6xIsiMVVt9VhhJ5aw dmErl9Y99UaIy3rhs+khxvKYpRE3Z9KEVwL5ca862Et0eC6gB5c4yDgcOxUw7exO mH/SLjHGQli1FRBeeTmVG1SB0JBZg2JBLgHRWJGGTMdaKzNupf+zwU3Qo3Po3RVE 7OpgMylpxG186sTekqSLrOATJcmL/XTA47mUYYCcD/jdLHburP0J8ywdvPvfORFt pqUwONi+20vIKqQnaU6AeVHCQoqEEJPt/V4PjLVaq3xuJl5JSus67ABstz2rV2xL Zx6nVSeGYwbNFn3SRLyRBpP04PZZ8egipovul7Pt/qzClYbTx8Y99bDOct20qxYQ czxf4O5dXn1oTlu0mpwGt3mBW3Y4hdxa10d9JbYjm2KSLWBIzSo= =AGYI -----END PGP SIGNATURE----- --MkyYC/7LsFLlylc6--