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 1l0xeZ-000380-2k for pgsql-bugs@arkaria.postgresql.org; Sun, 17 Jan 2021 02:18:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l0xeX-0000z1-3Y for pgsql-bugs@arkaria.postgresql.org; Sun, 17 Jan 2021 02:18:53 +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 1l0xeW-0000yu-TL for pgsql-bugs@lists.postgresql.org; Sun, 17 Jan 2021 02:18:52 +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 1l0xeU-0001yq-9s for pgsql-bugs@lists.postgresql.org; Sun, 17 Jan 2021 02:18:52 +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 10H2IhYG171313; Sat, 16 Jan 2021 21:18:44 -0500 From: Tom Lane To: Stephan Springl cc: pgsql-bugs@lists.postgresql.org Subject: Re: syntactically correct query gives ERROR: failed to assign all NestLoopParams to plan nodes In-reply-to: <237d2b72-6dd0-7b24-3a6f-94288cd44b9c@bfw-online.de> References: <237d2b72-6dd0-7b24-3a6f-94288cd44b9c@bfw-online.de> Comments: In-reply-to Stephan Springl message dated "Fri, 15 Jan 2021 20:54:10 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <171311.1610849922.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 16 Jan 2021 21:18:42 -0500 Message-ID: <171312.1610849922@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Stephan Springl writes: > running > psql -f NestLoopParams.sql > gives > psql:NestLoopParams.sql:16: ERROR: failed to assign all NestLoopPara= ms to plan nodes > psql:NestLoopParams.sql:24: ERROR: failed to assign all NestLoopPara= ms to plan nodes Thanks for the report! This turns out to be not entirely trivial to fix. I've started a discussion about it at [1]. One way or another we should have a fix in place for February's releases. regards, tom lane [1] https://www.postgresql.org/message-id/171041.1610849523%40sss.pgh.pa.u= s