Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIN9j-0001YS-WD for pgsql-bugs@arkaria.postgresql.org; Fri, 11 Feb 2022 04:03:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nIN9i-0005vk-H4 for pgsql-bugs@arkaria.postgresql.org; Fri, 11 Feb 2022 04:03:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIN9i-0005vb-8n for pgsql-bugs@lists.postgresql.org; Fri, 11 Feb 2022 04:03:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIN9Z-0002bZ-1f for pgsql-bugs@lists.postgresql.org; Fri, 11 Feb 2022 04:03:33 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 21B43LSL1969207; Thu, 10 Feb 2022 23:03:21 -0500 From: Tom Lane To: Ryan Kelly cc: pgsql-bugs@lists.postgresql.org Subject: Re: ERROR: XX000: variable not found in subplan target list In-reply-to: References: Comments: In-reply-to Ryan Kelly message dated "Thu, 10 Feb 2022 22:21:56 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1969205.1644552201.1@sss.pgh.pa.us> Date: Thu, 10 Feb 2022 23:03:21 -0500 Message-ID: <1969206.1644552201@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ryan Kelly writes: > After upgrading to 11.15 we have queries failing as follows: > (postgres@[local]:5432 02:52:54) [capitalrx_test_adjudication_master]> > EXPLAIN SELECT count(*) FROM adjudication.claims; > ERROR: XX000: variable not found in subplan target list It's impossible to comment on this with this amount of detail. Please try to extract a self-contained test case. https://wiki.postgresql.org/wiki/Guide_to_reporting_problems regards, tom lane